Temp test fix for spawning

This commit is contained in:
fullwall 2019-10-03 21:33:06 +08:00
parent d72b6ef9e8
commit d64876dd65
2 changed files with 2 additions and 2 deletions

View File

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

View File

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