From 8cc5ff042c240f65309b54f93dac4df583c4fc07 Mon Sep 17 00:00:00 2001 From: Mini-Chiss Date: Sun, 16 Aug 2015 09:33:15 +0200 Subject: [PATCH] fixed block hunt gem exploits --- .../game/arcade/game/games/hideseek/HideSeek.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/hideseek/HideSeek.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/hideseek/HideSeek.java index 28bc955d8..bb7fa45b0 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/hideseek/HideSeek.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/hideseek/HideSeek.java @@ -837,6 +837,9 @@ public class HideSeek extends TeamGame @EventHandler public void UseBoost(PlayerInteractEvent event) { + if (!IsLive()) + return; + Player player = event.getPlayer(); if (!UtilEvent.isAction(event, ActionType.R)) @@ -901,6 +904,9 @@ public class HideSeek extends TeamGame @EventHandler public void UseMeow(PlayerInteractEvent event) { + if (!IsLive()) + return; + Player player = event.getPlayer(); if (!UtilEvent.isAction(event, ActionType.R)) @@ -927,6 +933,9 @@ public class HideSeek extends TeamGame @EventHandler public void UseFirework(PlayerInteractEvent event) { + if (!IsLive()) + return; + Player player = event.getPlayer(); if (!UtilEvent.isAction(event, ActionType.R))