Decreased throughput of instant transfer blocks chained to routers

This commit is contained in:
Anuken
2020-08-23 17:08:07 -04:00
parent 2f19cab144
commit fefef3bc47
4 changed files with 7 additions and 7 deletions

View File

@@ -133,10 +133,10 @@ public class LiquidModule extends BlockModule{
public void read(Reads read){
Arrays.fill(liquids, 0);
total = 0f;
byte count = read.b();
int count = read.ub();
for(int j = 0; j < count; j++){
int liquidid = read.b();
int liquidid = read.ub();
float amount = read.f();
liquids[liquidid] = amount;
if(amount > 0){