fix modules disappearing when inserting them into the projector
@@ -219,7 +219,7 @@ public class ProjectorTileEntity extends DisguisableTileEntity implements IInven
@Override
public ItemStack getStackInSlot(int slot)
{
- return slot == 9 ? projectedBlock : ItemStack.EMPTY;
+ return slot >= 100 ? getModuleInSlot(slot) : (slot == 9 ? projectedBlock : ItemStack.EMPTY);
}
@Override
@@ -254,4 +254,9 @@ public class ProjectorTileEntity extends DisguisableTileEntity implements IInven
projectedBlock = stack;
}
+ @Override
+ public boolean enableHack()
+ {
+ return true;
+ }
}
