Remove debug messages.

This commit is contained in:
sigonasr2 2016-08-21 15:45:29 -05:00
parent 7667dc394b
commit ec10a46889
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -15,7 +15,7 @@ public class ItemCubeWindow {
public static void addItemCubeWindow(Player p, int id) { public static void addItemCubeWindow(Player p, int id) {
PlayerStructure pd = PlayerStructure.GetPlayerStructure(p); PlayerStructure pd = PlayerStructure.GetPlayerStructure(p);
pd.itemcubelist.add(id); pd.itemcubelist.add(id);
TwosideKeeper.log("Added cube "+id+" to Item Cube List for Player "+p.getName()+". New list: "+pd.itemcubelist.toString(), 2); TwosideKeeper.log("Added cube "+id+" to Item Cube List for Player "+p.getName()+". New list: "+pd.itemcubelist.toString(), 3);
} }
public static void popItemCubeWindow(Player p) { public static void popItemCubeWindow(Player p) {
//Opens the next possible item cube inventory from the list of inventories. //Opens the next possible item cube inventory from the list of inventories.
@ -23,7 +23,7 @@ public class ItemCubeWindow {
if (pd.itemcubelist.size()>0 && !pd.opened_another_cube) { if (pd.itemcubelist.size()>0 && !pd.opened_another_cube) {
int index = pd.itemcubelist.size()-1; int index = pd.itemcubelist.size()-1;
Integer itemcubeid = pd.itemcubelist.get(index); Integer itemcubeid = pd.itemcubelist.get(index);
TwosideKeeper.log("Popping Item Cube ID "+index+" from "+p.getName()+"'s list.", 2); TwosideKeeper.log("Popping Item Cube ID "+index+" from "+p.getName()+"'s list.", 3);
pd.itemcubelist.remove(index); pd.itemcubelist.remove(index);
Bukkit.getScheduler().scheduleSyncDelayedTask(TwosideKeeper.plugin, new Runnable() { Bukkit.getScheduler().scheduleSyncDelayedTask(TwosideKeeper.plugin, new Runnable() {