mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
oh i kinda want this changed
one less warning lmao
This commit is contained in:
parent
e79eae78a7
commit
e9376c788c
@ -58,9 +58,7 @@ public class ItemLeadBox extends Item implements IGUIProvider {
|
||||
ItemStack[] fromNBT = ItemStackUtil.readStacksFromNBT(box, slots.length);
|
||||
|
||||
if(fromNBT != null) {
|
||||
for(int i = 0; i < slots.length; i++) {
|
||||
slots[i] = fromNBT[i];
|
||||
}
|
||||
System.arraycopy(fromNBT, 0, slots, 0, slots.length);
|
||||
}
|
||||
toMarkDirty = true;
|
||||
this.markDirty();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user