This commit is contained in:
LCastr0 2017-04-27 20:55:21 -03:00
parent 601c9e31c6
commit d62d9a813b

View File

@ -223,6 +223,10 @@ public class CastleManager extends MiniPlugin
setPlayerAsPeasant(player);
}
/**
* Removes peasant from king if they leave
* @param event
*/
@EventHandler
public void onPlayerLeave(PlayerQuitEvent event)
{