mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 03:49:14 +00:00
Most of ItemInWorldManager reject, various small error fixes.
This commit is contained in:
1 parent
4b4146bbed
commit
befbb45522
11 files changed
+233
-225
No files matched your search
@@ -35,7 +35,7 @@ public class BlockSnapshot implements Serializable
|
||||
public BlockSnapshot(World world, BlockPos pos, IBlockState state)
|
||||
{
|
||||
this.world = world;
|
||||
this.dimId = world.provider.getDimensionId();
|
||||
this.dimId = world.provider.getDimension();
|
||||
this.pos = pos;
|
||||
this.replacedBlock = state;
|
||||
this.blockIdentifier = GameRegistry.findUniqueIdentifierFor(state.getBlock());
|
||||
@@ -57,7 +57,7 @@ public class BlockSnapshot implements Serializable
|
||||
public BlockSnapshot(World world, BlockPos pos, IBlockState state, NBTTagCompound nbt)
|
||||
{
|
||||
this.world = world;
|
||||
this.dimId = world.provider.getDimensionId();
|
||||
this.dimId = world.provider.getDimension();
|
||||
this.pos = pos.getImmutable();
|
||||
this.replacedBlock = state;
|
||||
this.blockIdentifier = GameRegistry.findUniqueIdentifierFor(state.getBlock());
|
||||
|
||||
Reference in new issue
Block a user