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.isCreatingSomething(p.getName())) {
|
||||||
if(jm.isCreatingAJail(p.getName())) {
|
if(jm.isCreatingAJail(p.getName())) {
|
||||||
|
|
||||||
jm.getJailCreationSteps().step(jm, p, jm.getJailCreationPlayer(p.getName()), loc);
|
jm.getJailCreationSteps().step(jm, p, jm.getJailCreationPlayer(p.getName()), loc);
|
||||||
|
|
||||||
}else if(jm.isCreatingACell(p.getName())) {
|
}else if(jm.isCreatingACell(p.getName())) {
|
||||||
|
jm.getCellCreationSteps().step(jm, p, jm.getCellCreationPlayer(p.getName()), loc);
|
||||||
//One for jail cell creation
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user