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() {
int id = getId();
file.setMemory(baseOffset, size, (byte) 0x00);
putInt(0, id);
file.setMemory(mapAddress(64), getPayloadSize(), (byte) 0x00);
updateTimestamp();
putInt(12, 0);
putInt(16, 0);
}
public int getId() {