mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-12 18:55:51 -07:00
Update to Minecraft 1.13-pre7
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
--- a/net/minecraft/server/TileEntityBanner.java
|
||||
+++ b/net/minecraft/server/TileEntityBanner.java
|
||||
@@ -23,6 +23,11 @@
|
||||
@@ -30,6 +30,11 @@
|
||||
|
||||
if (nbttagcompound != null && nbttagcompound.hasKeyOfType("Patterns", 9)) {
|
||||
this.patterns = nbttagcompound.getList("Patterns", 10).d();
|
||||
this.patterns = nbttagcompound.getList("Patterns", 10).c();
|
||||
+ // CraftBukkit start
|
||||
+ while (this.patterns.size() > 20) {
|
||||
+ this.patterns.remove(20);
|
||||
@@ -11,16 +11,16 @@
|
||||
+ // CraftBukkit end
|
||||
}
|
||||
|
||||
this.color = flag ? d(itemstack) : ItemBanner.c(itemstack);
|
||||
@@ -67,6 +72,11 @@
|
||||
this.color = enumcolor;
|
||||
@@ -79,6 +84,11 @@
|
||||
}
|
||||
|
||||
this.color = EnumColor.fromInvColorIndex(nbttagcompound.getInt("Base"));
|
||||
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;
|
||||
this.k = null;
|
||||
|
Reference in New Issue
Block a user