refactor: always list

This commit is contained in:
cha0s 2021-02-04 22:49:14 -06:00
parent 10a3cc6160
commit ddec926ad3

View File

@ -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;