Remove some debug stuff I forgot to remove.

This commit is contained in:
Virizion 2015-12-14 00:10:45 -05:00
parent 09643d3e61
commit 93c13d138d
2 changed files with 1 additions and 25 deletions

View File

@ -4,7 +4,6 @@ import java.util.ArrayList;
import java.util.HashSet;
import java.util.Map.Entry;
import mineplex.core.common.Rank;
import mineplex.core.common.util.C;
import mineplex.core.common.util.F;
import mineplex.core.common.util.MapUtil;
@ -56,7 +55,6 @@ import org.bukkit.event.EventPriority;
import org.bukkit.event.block.BlockGrowEvent;
import org.bukkit.event.block.BlockPlaceEvent;
import org.bukkit.event.entity.EntityChangeBlockEvent;
import org.bukkit.event.player.PlayerCommandPreprocessEvent;
import org.bukkit.event.player.PlayerInteractEvent;
import org.bukkit.event.player.PlayerPickupItemEvent;
import org.bukkit.event.player.PlayerQuitEvent;
@ -350,7 +348,7 @@ public class SpeedBuilder extends SoloGame
return;
}
_currentBuild = _buildData.get(_build);
_currentBuild = UtilAlg.Random(_buildData);
for (Player player : GetPlayers(true))
{
@ -967,25 +965,6 @@ public class SpeedBuilder extends SoloGame
event.setCancelled(true);
}
private int _build;
@EventHandler
public void setBuild(PlayerCommandPreprocessEvent event)
{
if (GetState() != GameState.Recruit)
return;
if (!event.getMessage().startsWith("/setbuild "))
return;
if (!Manager.GetClients().hasRank(event.getPlayer(), Rank.SNR_MODERATOR))
return;
_build = Integer.parseInt(event.getMessage().split(" ")[1]);
Announce(F.main("Build", "BUILD SET TO " + C.mElem + _build));
}
@Override
public void EndCheck()
{

View File

@ -18,7 +18,6 @@ import org.bukkit.Material;
import org.bukkit.block.Block;
import org.bukkit.block.BlockFace;
import org.bukkit.block.BlockState;
import org.bukkit.block.Skull;
import org.bukkit.craftbukkit.v1_8_R3.CraftWorld;
import org.bukkit.craftbukkit.v1_8_R3.util.CraftMagicNumbers;
import org.bukkit.entity.Item;
@ -241,8 +240,6 @@ public class RecreationData
{
if (currentBlock.getData() % 8 == expectedState.getRawData() % 8)
score++;
Game.Announce("SPECIAL SAPLING CHECK = " + (currentBlock.getData() % 8 == expectedState.getRawData() % 8));
}
//Fix for corner stair shape