SPIGOT-2501: Remove period from default quit message
Dieser Commit ist enthalten in:
Ursprung
67b242440b
Commit
2239ff0f97
@ -233,7 +233,7 @@
|
|||||||
+ // CraftBukkit start - Quitting must be before we do final save of data, in case plugins need to modify it
|
+ // CraftBukkit start - Quitting must be before we do final save of data, in case plugins need to modify it
|
||||||
+ org.bukkit.craftbukkit.event.CraftEventFactory.handleInventoryCloseEvent(entityplayer);
|
+ org.bukkit.craftbukkit.event.CraftEventFactory.handleInventoryCloseEvent(entityplayer);
|
||||||
+
|
+
|
||||||
+ PlayerQuitEvent playerQuitEvent = new PlayerQuitEvent(cserver.getPlayer(entityplayer), "\u00A7e" + entityplayer.getName() + " left the game.");
|
+ PlayerQuitEvent playerQuitEvent = new PlayerQuitEvent(cserver.getPlayer(entityplayer), "\u00A7e" + entityplayer.getName() + " left the game");
|
||||||
+ cserver.getPluginManager().callEvent(playerQuitEvent);
|
+ cserver.getPluginManager().callEvent(playerQuitEvent);
|
||||||
+ entityplayer.getBukkitEntity().disconnect(playerQuitEvent.getQuitMessage());
|
+ entityplayer.getBukkitEntity().disconnect(playerQuitEvent.getQuitMessage());
|
||||||
+
|
+
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren