Fix errors in commands and getDimension->getId

This commit is contained in:
tterrag committed 2018-09-15 15:02:38 -04:00
1 parent c59caa4b92
commit e3a931bf96
6 files changed
+13 -11

No files matched your search

@@ -64,7 +64,7 @@ public class BlockSnapshot
public BlockSnapshot(World world, BlockPos pos, IBlockState state, @Nullable NBTTagCompound nbt)
{
this.setWorld(world);
this.dimId = world.provider.getDimension();
this.dimId = world.provider.getId();
this.pos = pos.toImmutable();
this.setReplacedBlock(state);
this.registryName = state.getBlock().getRegistryName();