Remove debug messages.
This commit is contained in:
parent
7667dc394b
commit
ec10a46889
Binary file not shown.
@ -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() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user