Smash Kit fix
Gem Booster (dragons) fix
This commit is contained in:
parent
cac7f85410
commit
3d1ddecffb
@ -24,6 +24,7 @@ import org.bukkit.craftbukkit.v1_7_R3.entity.CraftEntity;
|
||||
import org.bukkit.craftbukkit.v1_7_R3.entity.CraftPlayer;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.EventPriority;
|
||||
import org.bukkit.event.block.BlockBurnEvent;
|
||||
import org.bukkit.event.block.BlockFadeEvent;
|
||||
import org.bukkit.event.block.BlockSpreadEvent;
|
||||
@ -811,7 +812,7 @@ public class ArcadeManager extends MiniPlugin implements IRelation
|
||||
return _inventoryManager;
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
@EventHandler(priority = EventPriority.LOWEST)
|
||||
public void cosmeticState(GameStateChangeEvent event)
|
||||
{
|
||||
//Disable
|
||||
|
@ -1187,6 +1187,9 @@ public class GameLobbyManager implements IPacketRunnable, Listener
|
||||
if (Manager.GetGame() == null)
|
||||
return;
|
||||
|
||||
if (Manager.GetGame().GetState() != GameState.Recruit)
|
||||
return;
|
||||
|
||||
if (Manager.getInventoryManager().Get(player).getItemCount("Gem Booster") <= 0)
|
||||
return;
|
||||
|
||||
|
@ -468,7 +468,7 @@ public class GameManager implements Listener
|
||||
return true;
|
||||
}
|
||||
|
||||
@EventHandler(priority = EventPriority.LOWEST)
|
||||
@EventHandler(priority = EventPriority.LOW)
|
||||
public void PlayerPrepare(GameStateChangeEvent event)
|
||||
{
|
||||
final Game game = event.GetGame();
|
||||
|
Loading…
Reference in New Issue
Block a user