diff options
author | md_5 <git@md-5.net> | 2016-07-07 10:43:49 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-07-07 10:43:49 +1000 |
commit | 2239ff0f97cc894157a1246da707804d9e89be7f (patch) | |
tree | 78f055a9d84bf68d403186c36f1a933fbeaf8969 /nms-patches | |
parent | 67b242440b79352602c8328158effcd5a4c1fda9 (diff) | |
download | craftbukkit-2239ff0f97cc894157a1246da707804d9e89be7f.tar craftbukkit-2239ff0f97cc894157a1246da707804d9e89be7f.tar.gz craftbukkit-2239ff0f97cc894157a1246da707804d9e89be7f.tar.lz craftbukkit-2239ff0f97cc894157a1246da707804d9e89be7f.tar.xz craftbukkit-2239ff0f97cc894157a1246da707804d9e89be7f.zip |
SPIGOT-2501: Remove period from default quit message
Diffstat (limited to 'nms-patches')
-rw-r--r-- | nms-patches/PlayerList.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/PlayerList.patch b/nms-patches/PlayerList.patch index d2f36f4b..428ef235 100644 --- a/nms-patches/PlayerList.patch +++ b/nms-patches/PlayerList.patch @@ -233,7 +233,7 @@ + // 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); + -+ 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); + entityplayer.getBukkitEntity().disconnect(playerQuitEvent.getQuitMessage()); + |