mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-14 14:45:40 +01:00
15 lines
420 B
Diff
15 lines
420 B
Diff
--- a/net/minecraft/server/TileEntityBanner.java
|
|
+++ b/net/minecraft/server/TileEntityBanner.java
|
|
@@ -69,6 +69,11 @@
|
|
}
|
|
|
|
this.patterns = nbttagcompound.getList("Patterns", 10);
|
|
+ // CraftBukkit start
|
|
+ while (this.patterns.size() > 20) {
|
|
+ this.patterns.remove(20);
|
|
+ }
|
|
+ // CraftBukkit end
|
|
this.h = null;
|
|
this.i = null;
|
|
this.j = null;
|