From 043313ffb86231e2298f858545d060e384d1ed5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=81=AA=E8=81=AA?= <178666380@qq.com> Date: Fri, 30 Jun 2017 14:12:33 +0800 Subject: [PATCH] add method --- .../common/util/BlockSnapshot.java.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 patches/net/minecraftforge/common/util/BlockSnapshot.java.patch diff --git a/patches/net/minecraftforge/common/util/BlockSnapshot.java.patch b/patches/net/minecraftforge/common/util/BlockSnapshot.java.patch new file mode 100644 index 0000000..d5d94b9 --- /dev/null +++ b/patches/net/minecraftforge/common/util/BlockSnapshot.java.patch @@ -0,0 +1,14 @@ +--- ../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() + {