diff options
| author | GlodBlock <1356392126@qq.com> | 2022-01-09 20:56:22 +0800 |
|---|---|---|
| committer | GlodBlock <1356392126@qq.com> | 2022-01-09 20:56:22 +0800 |
| commit | aae22b028e4f6dbef91ff704db7aa1c031df7ff3 (patch) | |
| tree | 9e9ca8413dcda4cef0a8d4b018e0324eb264f290 /src/main/java/goodgenerator/common | |
| parent | 7347ae3204e40d7243d80b4babe50122a2446b30 (diff) | |
| download | GT5-Unofficial-aae22b028e4f6dbef91ff704db7aa1c031df7ff3.tar.gz GT5-Unofficial-aae22b028e4f6dbef91ff704db7aa1c031df7ff3.tar.bz2 GT5-Unofficial-aae22b028e4f6dbef91ff704db7aa1c031df7ff3.zip | |
yottank ec2 support
Diffstat (limited to 'src/main/java/goodgenerator/common')
| -rw-r--r-- | src/main/java/goodgenerator/common/container/YOTTankGUIContainer.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/goodgenerator/common/container/YOTTankGUIContainer.java b/src/main/java/goodgenerator/common/container/YOTTankGUIContainer.java index 0a425e358e..5880f9e5fb 100644 --- a/src/main/java/goodgenerator/common/container/YOTTankGUIContainer.java +++ b/src/main/java/goodgenerator/common/container/YOTTankGUIContainer.java @@ -88,14 +88,14 @@ public class YOTTankGUIContainer extends GT_Container_MultiMachineEM { private void sendStateUpdate(ICrafting clientHandle) { final int bytes = Integer.BYTES * 3 + Character.BYTES * (currentStore.length() + store.length() + fluidName.length()); for (int i = 0; i < bytes; i++) { - clientHandle.sendProgressBarUpdate(this, i + 21, buffer.get(i)); + clientHandle.sendProgressBarUpdate(this, i + 300, buffer.get(i)); } } @SideOnly(Side.CLIENT) public void updateProgressBar(int index, int value) { super.updateProgressBar(index, value); - index = index - 21; + index = index - 300; if(index >= 0 && index < buffer.capacity()) { buffer.put(index, (byte) value); } |
