@@ -61,15 +61,15 @@
|
||||
+
|
||||
protected EntityMinecartContainer(EntityTypes<?> entitytypes, World world) {
|
||||
super(entitytypes, world);
|
||||
- this.items = NonNullList.a(36, ItemStack.a);
|
||||
+ this.items = NonNullList.a(this.getSize(), ItemStack.a); // CraftBukkit - SPIGOT-3513
|
||||
- this.items = NonNullList.a(36, ItemStack.b);
|
||||
+ this.items = NonNullList.a(this.getSize(), ItemStack.b); // CraftBukkit - SPIGOT-3513
|
||||
this.c = true;
|
||||
}
|
||||
|
||||
protected EntityMinecartContainer(EntityTypes<?> entitytypes, double d0, double d1, double d2, World world) {
|
||||
super(entitytypes, world, d0, d1, d2);
|
||||
- this.items = NonNullList.a(36, ItemStack.a);
|
||||
+ this.items = NonNullList.a(this.getSize(), ItemStack.a); // CraftBukkit - SPIGOT-3513
|
||||
- this.items = NonNullList.a(36, ItemStack.b);
|
||||
+ this.items = NonNullList.a(this.getSize(), ItemStack.b); // CraftBukkit - SPIGOT-3513
|
||||
this.c = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user