mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +01:00
Only clear slots on right side!
This commit is contained in:
parent
9a9ec02eef
commit
470e7b5518
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ public class TileEntityLaserRelayItemWhitelist extends TileEntityLaserRelayItem
|
|||
int slotStart = output ? 12 : 0;
|
||||
int slotStop = slotStart+12;
|
||||
|
||||
for(int i = 0; i < this.slots.length; i++){
|
||||
for(int i = slotStart; i < slotStop; i++){
|
||||
if(this.slots[i] != null){
|
||||
if(this.slots[i].getItem() instanceof ItemFilter){
|
||||
ItemDrill.writeSlotsToNBT(new ItemStack[ContainerFilter.SLOT_AMOUNT], this.slots[i]);
|
||||
|
|
Loading…
Reference in a new issue