mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 07:48:53 +01:00
14 lines
403 B
Diff
14 lines
403 B
Diff
--- a/net/minecraft/server/TileEntityBanner.java
|
|
+++ b/net/minecraft/server/TileEntityBanner.java
|
|
@@ -70,6 +70,11 @@
|
|
}
|
|
|
|
this.patterns = nbttagcompound.getList("Patterns", 10);
|
|
+ // CraftBukkit start
|
|
+ while (this.patterns.size() > 20) {
|
|
+ this.patterns.remove(20);
|
|
+ }
|
|
+ // CraftBukkit end
|
|
this.h = null;
|
|
this.g = true;
|
|
}
|