refactor: always list
This commit is contained in:
parent
10a3cc6160
commit
ddec926ad3
|
@ -152,15 +152,11 @@ export default (latus) => class Spawner extends decorate(Trait) {
|
|||
}
|
||||
|
||||
destinationEntityList() {
|
||||
if (
|
||||
this.entity.is('Listed')
|
||||
&& this.entity.list
|
||||
) {
|
||||
if (this.entity.list) {
|
||||
return this.entity.list;
|
||||
}
|
||||
if (
|
||||
this.entity.wielder
|
||||
&& this.entity.wielder.is('Listed')
|
||||
&& this.entity.wielder.list
|
||||
) {
|
||||
return this.entity.wielder.list;
|
||||
|
|
Loading…
Reference in New Issue
Block a user