mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
Add missing check
This commit is contained in:
parent
0f7c8b49f3
commit
4bc07d9cbf
@ -171,6 +171,7 @@ public class BlockStorageCrate extends BlockContainer implements IBlockMulti, IT
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (drop.hasTagCompound()) {
|
||||||
try {
|
try {
|
||||||
byte[] abyte = CompressedStreamTools.compress(drop.stackTagCompound);
|
byte[] abyte = CompressedStreamTools.compress(drop.stackTagCompound);
|
||||||
|
|
||||||
@ -181,6 +182,7 @@ public class BlockStorageCrate extends BlockContainer implements IBlockMulti, IT
|
|||||||
}
|
}
|
||||||
|
|
||||||
} catch(IOException e) { }
|
} catch(IOException e) { }
|
||||||
|
}
|
||||||
|
|
||||||
world.spawnEntityInWorld(new EntityItem(world, x + 0.5, y + 0.5, z + 0.5, drop));
|
world.spawnEntityInWorld(new EntityItem(world, x + 0.5, y + 0.5, z + 0.5, drop));
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user