mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-15 09:34:42 +00:00
Small improvements to the Level Maintainer GUI (#283)
This commit is contained in:
1 parent
c724875af6
commit
a4a5dcd9d8
3 files changed
+93
-71
No files matched your search
@@ -54,12 +54,6 @@ public class CPacketLevelMaintainer implements IMessage {
|
||||
this.size = size;
|
||||
}
|
||||
|
||||
public CPacketLevelMaintainer(Action action, int slotIndex, String size) {
|
||||
this.action = action;
|
||||
this.slotIndex = slotIndex;
|
||||
this.size = size.isEmpty() ? 0 : Long.parseLong(size);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fromBytes(ByteBuf buf) {
|
||||
this.action = Action.values()[buf.readInt()];
|
||||
|
||||
Reference in new issue
Block a user