diff --git a/pom.xml b/pom.xml index beed13db..2ab7333d 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ org.mctourney.autoreferee AutoReferee - 2.8.3 + 2.8.4 AutoReferee Core Plugin https://www.reddit.com/r/mctourney Bukkit plugin for automatically refereeing competitive Minecraft matches. diff --git a/src/main/java/org/mctourney/autoreferee/listeners/SpectatorListener.java b/src/main/java/org/mctourney/autoreferee/listeners/SpectatorListener.java index 5ec4df0b..9d0f14b6 100644 --- a/src/main/java/org/mctourney/autoreferee/listeners/SpectatorListener.java +++ b/src/main/java/org/mctourney/autoreferee/listeners/SpectatorListener.java @@ -149,6 +149,10 @@ else if ("inventory".equalsIgnoreCase(parts[0])) player.sendMessage(ChatColor.DARK_GRAY + "Cannot show inventory for " + parts[2]); } } + else if (message.contains("panic")){ + match.updateReferee(player); + player.sendMessage(ChatColor.DARK_RED + "Panic button successful."); + } } catch (UnsupportedEncodingException e) { AutoReferee.log("Unsupported encoding: " + AutoReferee.PLUGIN_CHANNEL_ENC); } diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index da4cd392..1910e541 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,6 +1,6 @@ name: AutoReferee main: org.mctourney.autoreferee.AutoReferee -version: 2.8.3 +version: 2.8.4 author: "authorblues, net" load: startup