mirror of
https://github.com/WiIIiam278/HuskSync.git
synced 2025-12-27 18:49:11 +00:00
Still fire synccomplete for dead player syncs
This commit is contained in:
@@ -181,6 +181,7 @@ public class PlayerSetter {
|
||||
}
|
||||
// Don't sync the player if they are dead
|
||||
if (player.isDead() || player.getHealth() <= 0) {
|
||||
Bukkit.getPluginManager().callEvent(new SyncCompleteEvent(player, data));
|
||||
return;
|
||||
}
|
||||
if (Settings.syncInventories) {
|
||||
|
||||
Reference in New Issue
Block a user