summaryrefslogtreecommitdiffstats
path: root/nms-patches/TileEntityBanner.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/TileEntityBanner.patch')
-rw-r--r--nms-patches/TileEntityBanner.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/TileEntityBanner.patch b/nms-patches/TileEntityBanner.patch
index 4f501b82..1c10a36a 100644
--- a/nms-patches/TileEntityBanner.patch
+++ b/nms-patches/TileEntityBanner.patch
@@ -3,7 +3,7 @@
@@ -30,6 +30,11 @@
if (nbttagcompound != null && nbttagcompound.hasKeyOfType("Patterns", 9)) {
- this.patterns = nbttagcompound.getList("Patterns", 10).c();
+ this.patterns = nbttagcompound.getList("Patterns", 10).clone();
+ // CraftBukkit start
+ while (this.patterns.size() > 20) {
+ this.patterns.remove(20);