mirror of
https://github.com/barkeser2002/Tenet.git
synced 2026-09-25 13:06:03 +03:00
15 lines
438 B
Diff
15 lines
438 B
Diff
--- a/net/minecraft/world/level/block/entity/TileEntityBanner.java
|
|
+++ b/net/minecraft/world/level/block/entity/TileEntityBanner.java
|
|
@@ -102,6 +102,11 @@
|
|
}
|
|
|
|
this.itemPatterns = nbttagcompound.getList("Patterns", 10);
|
|
+ // CraftBukkit start
|
|
+ while (this.itemPatterns.size() > 20) {
|
|
+ this.itemPatterns.remove(20);
|
|
+ }
|
|
+ // CraftBukkit end
|
|
this.patterns = null;
|
|
}
|
|
|