diff --git a/src/main/java/com/graywolf336/jail/listeners/PlayerListener.java b/src/main/java/com/graywolf336/jail/listeners/PlayerListener.java index 51f4455..3199717 100644 --- a/src/main/java/com/graywolf336/jail/listeners/PlayerListener.java +++ b/src/main/java/com/graywolf336/jail/listeners/PlayerListener.java @@ -45,8 +45,10 @@ public class PlayerListener implements Listener { if(p.getItemInHand().isSimilar(Util.getWand())) { if(jm.isCreatingSomething(p.getName())) { if(jm.isCreatingAJail(p.getName())) { + pl.debug("Stepping into creating a jail."); jm.getJailCreationSteps().step(jm, p, jm.getJailCreationPlayer(p.getName()), loc); }else if(jm.isCreatingACell(p.getName())) { + pl.debug("Stepping into creating a cell."); jm.getCellCreationSteps().step(jm, p, jm.getCellCreationPlayer(p.getName()), loc); } diff --git a/src/main/java/com/graywolf336/jail/steps/CellCreationSteps.java b/src/main/java/com/graywolf336/jail/steps/CellCreationSteps.java index 9a25173..ad99e90 100644 --- a/src/main/java/com/graywolf336/jail/steps/CellCreationSteps.java +++ b/src/main/java/com/graywolf336/jail/steps/CellCreationSteps.java @@ -51,6 +51,7 @@ public class CellCreationSteps { * @param location The location, null if none, being set. */ public void step(JailManager jm, Player player, CreationPlayer cp, Location location) { + jm.getPlugin().debug("Stepping into step #" + cp.getStep()); switch(cp.getStep()) { case 1: firstStep(jm, cp, player); diff --git a/src/main/java/com/graywolf336/jail/steps/JailCreationSteps.java b/src/main/java/com/graywolf336/jail/steps/JailCreationSteps.java index 3095473..616ff4b 100644 --- a/src/main/java/com/graywolf336/jail/steps/JailCreationSteps.java +++ b/src/main/java/com/graywolf336/jail/steps/JailCreationSteps.java @@ -47,6 +47,7 @@ public class JailCreationSteps { * @param location The location, null if none, being set. */ public void step(JailManager jm, Player player, CreationPlayer cp, Location location) { + jm.getPlugin().debug("Stepping into step #" + cp.getStep()); switch(cp.getStep()) { case 1: firstStep(cp, player, location);