diff --git a/common/world-time.packet.js b/common/world-time.packet.js index 0925f2e..7262fe0 100644 --- a/common/world-time.packet.js +++ b/common/world-time.packet.js @@ -2,14 +2,9 @@ import {SynchronizedUpdatePacket} from '@avocado/net'; export class WorldTimePacket extends SynchronizedUpdatePacket { - static get schema() { - const superSchema = super.schema; + static get synchronizationSchema() { return { - ...superSchema, - data: { - ...superSchema.data, - hour: 'uint16', - }, + hour: 'uint16', }; }