seed looses resolution - returned as string.

This commit is contained in:
gnembon committed 2020-06-12 22:46:03 -03:00
1 parent 5f2ee1c627
commit 7f98564122
1 file changed
+1 -1
@@ -2944,7 +2944,7 @@ public class CarpetExpression
this.expr.addLazyFunction("seed", -1, (c, t, lv) -> { this.expr.addLazyFunction("seed", -1, (c, t, lv) -> {
ServerCommandSource s = ((CarpetContext)c).s; ServerCommandSource s = ((CarpetContext)c).s;
Value ret = new NumericValue(s.getWorld().getSeed()); Value ret = new StringValue(Long.toString(s.getWorld().getSeed()));
return (cc, tt) -> ret; return (cc, tt) -> ret;
}); });