mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-20 14:08:57 +01:00
Remove usage of Java 11 method not caught by animal sniffer
By: md_5 <git@md-5.net>
This commit is contained in:
parent
2784d9c66a
commit
e42f86eb2d
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@
|
||||||
+
|
+
|
||||||
+ public InventorySubcontainer(InventorySubcontainer original) {
|
+ public InventorySubcontainer(InventorySubcontainer original) {
|
||||||
+ this.a = original.a;
|
+ this.a = original.a;
|
||||||
+ this.items = NonNullList.a(ItemStack.b, original.items.toArray(ItemStack[]::new));
|
+ this.items = NonNullList.a(ItemStack.b, original.items.toArray(new ItemStack[0]));
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
public InventorySubcontainer(int i) {
|
public InventorySubcontainer(int i) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue