mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-11 10:12:06 -07:00
@@ -3,7 +3,7 @@
|
||||
@@ -21,6 +21,11 @@
|
||||
|
||||
if (nbttagcompound.hasKey("Patterns")) {
|
||||
this.patterns = (NBTTagList) nbttagcompound.getList("Patterns", 10).clone();
|
||||
this.patterns = nbttagcompound.getList("Patterns", 10).d();
|
||||
+ // CraftBukkit start
|
||||
+ while (this.patterns.size() > 20) {
|
||||
+ this.patterns.remove(20);
|
||||
|
Reference in New Issue
Block a user