diff --git a/src/main/java/me/libraryaddict/disguise/utilities/reflection/ReflectionManager.java b/src/main/java/me/libraryaddict/disguise/utilities/reflection/ReflectionManager.java index 563523de..267b6b81 100644 --- a/src/main/java/me/libraryaddict/disguise/utilities/reflection/ReflectionManager.java +++ b/src/main/java/me/libraryaddict/disguise/utilities/reflection/ReflectionManager.java @@ -1467,7 +1467,7 @@ public class ReflectionManager { public static int getCombinedIdByBlockData(BlockData data) { try { - Object iBlockData = getCraftMethod("block.data.type.CraftBlockData", "getState").invoke(data); + Object iBlockData = getCraftMethod("block.data.CraftBlockData", "getState").invoke(data); return (int) getNmsMethod("Block", "getCombinedId", getNmsClass("IBlockData")).invoke(null, iBlockData); } @@ -1511,7 +1511,7 @@ public class ReflectionManager { Object iBlockData = idMethod.invoke(null, id); Class iBlockClass = getNmsClass("IBlockData"); - return (BlockData) getCraftMethod("block.data.type.CraftBlockData", "fromData", iBlockClass) + return (BlockData) getCraftMethod("block.data.CraftBlockData", "fromData", iBlockClass) .invoke(null, iBlockData); } catch (Exception ex) {