Let's start stepping through the cell creation.
This commit is contained in:
parent
d0273828b8
commit
d85b2db190
@ -28,13 +28,9 @@ public class PlayerListener implements Listener {
|
||||
|
||||
if(jm.isCreatingSomething(p.getName())) {
|
||||
if(jm.isCreatingAJail(p.getName())) {
|
||||
|
||||
jm.getJailCreationSteps().step(jm, p, jm.getJailCreationPlayer(p.getName()), loc);
|
||||
|
||||
}else if(jm.isCreatingACell(p.getName())) {
|
||||
|
||||
//One for jail cell creation
|
||||
|
||||
jm.getCellCreationSteps().step(jm, p, jm.getCellCreationPlayer(p.getName()), loc);
|
||||
}
|
||||
|
||||
event.setCancelled(true);
|
||||
|
Loading…
Reference in New Issue
Block a user