This commit is contained in:
Jonathan Williams 2013-08-29 10:04:39 -07:00
parent 606f631559
commit 57d1d8058c

View File

@ -1159,6 +1159,11 @@ public abstract class GameEngine<GameType extends IGame<ArenaType, PlayerType>,
}
else
{
if (player.getItemInHand().getType() == Material.WATCH)
{
Portal.SendPlayerToServer(player, "Lobby");
}
if (player.isOp())
{
if (player.getItemInHand().getType() == Material.GHAST_TEAR)
@ -1227,10 +1232,6 @@ public abstract class GameEngine<GameType extends IGame<ArenaType, PlayerType>,
((CraftPlayer)player).getHandle().playerConnection.sendPacket(vehiclePacket);
*/
}
else if (player.getItemInHand().getType() == Material.WATCH)
{
Portal.SendPlayerToServer(player, "Lobby");
}
if (player.getItemInHand().getType() == Material.BLAZE_ROD)
{
if (event.getAction() == Action.LEFT_CLICK_AIR)