3
0
KCauldronX/patches/net/minecraftforge/common/util/BlockSnapshot.java.patch
2017-06-30 14:12:33 +08:00

15 lines
375 B
Diff

--- ../src-base/minecraft/net/minecraftforge/common/util/BlockSnapshot.java
+++ ../src-work/minecraft/net/minecraftforge/common/util/BlockSnapshot.java
@@ -127,6 +127,11 @@
{
return world.getBlock(x, y, z);
}
+
+ public int getCurrentBlockMeta()
+ {
+ return world.getBlockMetadata(x, y, z);
+ }
public World getWorld()
{