mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Don't handle end portal respawns, close #446
This commit is contained in:
2 files changed
+9
No files matched your search
@@ -60,6 +60,9 @@ public class BukkitEventListener extends EventListener implements Listener {
|
||||
|
||||
@EventHandler(priority = EventPriority.NORMAL)
|
||||
public void onPlayerRespawn(PlayerRespawnEvent event) {
|
||||
if (event.getRespawnReason() != PlayerRespawnEvent.RespawnReason.DEATH) {
|
||||
return;
|
||||
}
|
||||
super.handlePlayerRespawn(BukkitUser.adapt(event.getPlayer()));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user