Skip to content

Commit 726bb82

Browse files
committed
Fixed PlayerLoggedOutException for realz this time
1 parent d68b64c commit 726bb82

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed

src/main/java/tech/nully/BossBarAPI/SpawnFakeWither.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public void create() {
121121
manager.sendServerPacket(p, spawnMob.getHandle());
122122
} catch (InvocationTargetException e) {
123123
Bukkit.getLogger().log(Level.WARNING, "Cannot send " + spawnMob.getHandle() + " to " + p, e);
124-
}
124+
} catch (PlayerLoggedOutException ignored) {}
125125
created = true;
126126
}
127127

target/BossBarAPI-0.0.1.jar

11 Bytes
Binary file not shown.

target/original-BossBarAPI-0.0.1.jar

11 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)