Fix my 憨批 error.

This commit is contained in:
IzzelAliz 2019-12-05 15:08:46 +08:00
parent 5cb7dfa92a
commit 88ab61812b

View File

@ -13,9 +13,10 @@ public class MessageBlock {
} }
public void reset() { public void reset() {
int id = getId(); file.setMemory(mapAddress(64), getPayloadSize(), (byte) 0x00);
file.setMemory(baseOffset, size, (byte) 0x00); updateTimestamp();
putInt(0, id); putInt(12, 0);
putInt(16, 0);
} }
public int getId() { public int getId() {