diff --git a/paper-server/nms-patches/TileEntityStructure.patch b/paper-server/nms-patches/TileEntityStructure.patch new file mode 100644 index 0000000000..9624af0d34 --- /dev/null +++ b/paper-server/nms-patches/TileEntityStructure.patch @@ -0,0 +1,11 @@ +--- a/net/minecraft/server/TileEntityStructure.java ++++ b/net/minecraft/server/TileEntityStructure.java +@@ -18,7 +18,7 @@ + public BlockPosition size; + public EnumBlockMirror mirror; + public EnumBlockRotation rotation; +- private BlockPropertyStructureMode usageMode; ++ public BlockPropertyStructureMode usageMode; + public boolean ignoreEntities; + private boolean powered; + public boolean showAir; diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftStructureBlock.java b/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftStructureBlock.java index 86095fbe7d..c3fa6e534b 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftStructureBlock.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftStructureBlock.java @@ -105,7 +105,7 @@ public class CraftStructureBlock extends CraftBlockEntityState= min && num <= max; }