fix: decoration
This commit is contained in:
parent
3ebd3ff3bf
commit
96b25d94b3
|
@ -6,4 +6,8 @@ const decorate = compose(
|
|||
Vector.Packer(),
|
||||
);
|
||||
|
||||
export default () => class TraitUpdatePositionedPositionPacket extends decorate(Packet) {};
|
||||
const TraitUpdatePositionedPositionPacket = () => (
|
||||
class TraitUpdatePositionedPositionPacket extends decorate(Packet) {}
|
||||
);
|
||||
|
||||
export default () => decorate(TraitUpdatePositionedPositionPacket());
|
||||
|
|
|
@ -6,7 +6,7 @@ const decorate = compose(
|
|||
Vector.Packer('position'),
|
||||
);
|
||||
|
||||
export default () => class TilesUpdatePacket extends decorate(Packet) {
|
||||
const TilesUpdatePacket = () => class TilesUpdatePacket extends Packet {
|
||||
|
||||
static get data() {
|
||||
return {
|
||||
|
@ -15,3 +15,5 @@ export default () => class TilesUpdatePacket extends decorate(Packet) {
|
|||
}
|
||||
|
||||
};
|
||||
|
||||
export default () => decorate(TilesUpdatePacket());
|
||||
|
|
Loading…
Reference in New Issue
Block a user