wireless universal terminal

This commit is contained in:
GlodBlock committed 2023-02-03 22:38:33 +08:00
1 parent e1aa537670
commit 513af871aa
17 files changed
+544 -9

No files matched your search

@@ -98,6 +98,12 @@ public class SPacketFluidUpdate implements IMessage {
} else {
((GuiFluidTerminal) gs).update(null);
}
} else if (gs instanceof GuiEssentiaTerminal) {
if (message.itemStack != null) {
((GuiEssentiaTerminal) gs).update(message.itemStack.getItemStack());
} else {
((GuiEssentiaTerminal) gs).update(null);
}
} else if (gs instanceof GuiFluidStorageBus) {
for (Map.Entry<Integer, IAEFluidStack> e : message.list.entrySet())
((GuiFluidStorageBus) gs).update(e.getKey(), e.getValue());