After we've transferred them on joining, don't leave that flag there

This commit is contained in:
graywolf336 2014-02-04 13:34:00 -06:00
parent d0312afc66
commit 2ecb26dc8a

View File

@ -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());