mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-26 23:13:15 +00:00
Fix errors in commands and getDimension->getId
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user