Fixed #1223 - "Crash while trying to autocraft"

This commit is contained in:
raoulvdberge
2017-05-17 14:27:19 +02:00
parent 75b92dafb6
commit c1cd19ce91

View File

@@ -126,7 +126,7 @@ public class PortableGrid implements IGrid, IPortableGrid {
drainEnergy(RS.INSTANCE.config.portableGridOpenUsage); drainEnergy(RS.INSTANCE.config.portableGridOpenUsage);
// If there is no disk onContentsChanged isn't called and the update isn't sent // If there is no disk onContentsChanged isn't called and the update isn't sent, thus items from the previous grid view would remain clientside
if (!player.getEntityWorld().isRemote && disk.getStackInSlot(0).isEmpty()) { if (!player.getEntityWorld().isRemote && disk.getStackInSlot(0).isEmpty()) {
cache.invalidate(); cache.invalidate();
} }