seed returns numbers now since they will not loose long precision.

This commit is contained in:
gnembon committed 2020-08-21 00:55:18 -03:00
1 parent 968ef0cd9f
commit b48c52cce4
1 file changed
+1 -1
@@ -3245,7 +3245,7 @@ public class CarpetExpression
this.expr.addLazyFunction("seed", -1, (c, t, lv) -> {
ServerCommandSource s = ((CarpetContext)c).s;
Value ret = new StringValue(Long.toString(s.getWorld().getSeed()));
Value ret = new NumericValue(s.getWorld().getSeed());
return (cc, tt) -> ret;
});