3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2025-01-11 23:50:54 +01:00
Paper/nms-patches/TileEntityBanner.patch

15 Zeilen
403 B
Diff

--- a/net/minecraft/server/TileEntityBanner.java
+++ b/net/minecraft/server/TileEntityBanner.java
2020-01-22 08:00:00 +11:00
@@ -70,6 +70,11 @@
2018-07-15 10:00:00 +10:00
}
2016-11-17 12:41:03 +11:00
this.patterns = nbttagcompound.getList("Patterns", 10);
+ // CraftBukkit start
+ while (this.patterns.size() > 20) {
2016-03-01 08:32:46 +11:00
+ this.patterns.remove(20);
+ }
+ // CraftBukkit end
2018-07-15 10:00:00 +10:00
this.h = null;
2020-01-22 08:00:00 +11:00
this.g = true;
}