diff --git a/modules/API/src/main/java/com/comphenix/protocol/wrappers/WrappedBlockData.java b/modules/API/src/main/java/com/comphenix/protocol/wrappers/WrappedBlockData.java index 9a0d7589..c8d3c28f 100644 --- a/modules/API/src/main/java/com/comphenix/protocol/wrappers/WrappedBlockData.java +++ b/modules/API/src/main/java/com/comphenix/protocol/wrappers/WrappedBlockData.java @@ -143,7 +143,7 @@ public abstract class WrappedBlockData extends AbstractWrapper { } private static WrappedBlockData createNewData(Material material, int data) { - return new NewBlockData(FROM_LEGACY_DATA.invoke(material, (byte) data)); + return new NewBlockData(FROM_LEGACY_DATA.invoke(null, material, (byte) data)); } } @@ -327,4 +327,4 @@ public abstract class WrappedBlockData extends AbstractWrapper { return false; } -} \ No newline at end of file +}