Since we're syncing anyway, make the client do a deferred refresh to allow syncing to occur, rather than trying to keep track of prev stacks itself

This commit is contained in:
Electroblob77
2020-04-12 23:00:23 +01:00
parent 8682fcbe91
commit e985bc6f69
2 changed files with 10 additions and 0 deletions
@@ -150,6 +150,10 @@ public class GuiArcaneWorkbench extends GuiContainer {
@Override
public void updateScreen(){
if(animationTimer > 0) animationTimer--;
if(arcaneWorkbenchContainer.needsRefresh){
arcaneWorkbenchContainer.refreshBookshelfSlots();
arcaneWorkbenchContainer.needsRefresh = false;
}
}
@Override