mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-22 18:45:29 +01:00
Temp test fix for spawning
This commit is contained in:
parent
d72b6ef9e8
commit
d64876dd65
@ -202,7 +202,7 @@ public class EventListen implements Listener {
|
||||
}
|
||||
}
|
||||
};
|
||||
if (event instanceof Cancellable) {
|
||||
if (event instanceof Cancellable || true) {
|
||||
runnable.run();
|
||||
} else {
|
||||
Bukkit.getScheduler().scheduleSyncDelayedTask(CitizensAPI.getPlugin(), runnable);
|
||||
|
@ -92,7 +92,7 @@ public class CitizensNPC extends AbstractNPC {
|
||||
for (Trait trait : new ArrayList<Trait>(traits.values())) {
|
||||
trait.onDespawn();
|
||||
}
|
||||
Messaging.debug("Despawned", getId(), "DespawnReason.", reason);
|
||||
Messaging.debug("Despawned", getId(), "DespawnReason." + reason);
|
||||
if (reason == DespawnReason.DEATH) {
|
||||
entityController.setEntity(null);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user