force respawn of dead players throwing error

This commit is contained in:
FatBoy committed 2024-12-31 18:56:20 -06:00
1 parent a6510af56d
commit 30129d161f
1 file changed
+4 -1
+4 -1
View File
@@ -4830,8 +4830,11 @@ public class PlayerCharacter extends AbstractCharacter {
if (sourcePlayer == null)
return;
try {
sourcePlayer.getClientConnection().disconnect();
} catch (Exception e) {
sourcePlayer.getClientConnection().disconnect();
}
}