After we've transferred them on joining, don't leave that flag there
This commit is contained in:
parent
d0312afc66
commit
2ecb26dc8a
@ -106,6 +106,8 @@ public class PlayerListener implements Listener {
|
|||||||
event.getPlayer().teleport(c.getTeleport());
|
event.getPlayer().teleport(c.getTeleport());
|
||||||
p.setTeleporting(false);
|
p.setTeleporting(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p.setToBeTransferred(false);
|
||||||
} else {
|
} else {
|
||||||
//Their remaining time isn't 0 so let's proceed with jailing of the prisoner
|
//Their remaining time isn't 0 so let's proceed with jailing of the prisoner
|
||||||
pl.getPrisonerManager().jailPrisoner(event.getPlayer().getName());
|
pl.getPrisonerManager().jailPrisoner(event.getPlayer().getName());
|
||||||
|
Loading…
Reference in New Issue
Block a user