Added T3 logic processor

This commit is contained in:
Anuken
2020-08-22 11:16:15 -04:00
parent a76da8e488
commit b128155615
24 changed files with 5428 additions and 5330 deletions

View File

@@ -295,11 +295,11 @@ public class ItemModule extends BlockModule{
public void read(Reads read){
//just in case, reset items
Arrays.fill(items, 0);
byte count = read.b();
int count = read.ub();
total = 0;
for(int j = 0; j < count; j++){
int itemid = read.b();
int itemid = read.ub();
int itemamount = read.i();
items[content.item(itemid).id] = itemamount;
total += itemamount;