avocado-old/packages/entity/packets/trait-update-alive.packet.js
2020-06-15 17:26:20 -05:00

16 lines
247 B
JavaScript

import {Packet} from '@avocado/net';
export default class TraitUpdateAlivePacket extends Packet {
static get schema() {
return {
...super.schema,
data: {
life: 'uint16',
maxLife: 'uint16',
}
};
}
}