chore: names
This commit is contained in:
parent
9608f6d067
commit
9425452ec6
|
@ -16,6 +16,12 @@ export default (latus) => class Plant extends decorate(Trait) {
|
|||
this.growthElapsed = 0;
|
||||
}
|
||||
|
||||
acceptPacket(packet) {
|
||||
if ('TraitUpdatePlant' === packet.constructor.type) {
|
||||
this.entity.growthStage = packet.data.growthStage;
|
||||
}
|
||||
}
|
||||
|
||||
static defaultParams() {
|
||||
return {
|
||||
growthCondition: {
|
||||
|
@ -58,12 +64,6 @@ export default (latus) => class Plant extends decorate(Trait) {
|
|||
};
|
||||
}
|
||||
|
||||
acceptPacket(packet) {
|
||||
if ('TraitUpdatePlant' === packet.constructor.type) {
|
||||
this.entity.growthStage = packet.data.growthStage;
|
||||
}
|
||||
}
|
||||
|
||||
listeners() {
|
||||
return {
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user