Fix bug padding MDL entries
@@ -324,6 +324,7 @@ class MDLEntry:
for command in self.xf_commands:
offset = command.save(offset)
+ if offset % 0x20 != 0:
padding_bytes_needed = (0x20 - (offset % 0x20))
padding = b"\0"*padding_bytes_needed
write_bytes(self.data, offset, padding)
