mapping update

This commit is contained in:
gnembon committed 2020-01-14 14:38:55 -04:00
1 parent 7c7c4733fc
commit 0b4405f5cd
4 files changed
+5 -5

No files matched your search

@@ -3207,7 +3207,7 @@ public class CarpetExpression
this.expr.addLazyFunction("current_dimension", 0, (c, t, lv) -> {
ServerCommandSource s = ((CarpetContext)c).s;
Value retval = new StringValue(NBTSerializableValue.nameFromRegistryId(Registry.DIMENSION.getId(s.getWorld().dimension.getType())));
Value retval = new StringValue(NBTSerializableValue.nameFromRegistryId(Registry.DIMENSION_TYPE.getId(s.getWorld().dimension.getType())));
return (cc, tt) -> retval;
});