1
0
forked from xjboss/KCauldronX
KCauldronX/patches/net/minecraftforge/common/util/BlockSnapshot.java.patch

15 lines
375 B
Diff
Raw Permalink Normal View History

2017-06-30 06:12:33 +00:00
--- ../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()
{