forked from MagicBane/Server
HZ related stuff
This commit is contained in:
@@ -183,7 +183,7 @@ public class HotzoneManager {
|
|||||||
Guild nation = pc.guild.getNation();
|
Guild nation = pc.guild.getNation();
|
||||||
if(HotzoneManager.playersPresent.containsKey(nation)){
|
if(HotzoneManager.playersPresent.containsKey(nation)){
|
||||||
//nation already here, add to list
|
//nation already here, add to list
|
||||||
if(HotzoneManager.playersPresent.get(nation).contains(pc)){
|
if(!HotzoneManager.playersPresent.get(nation).contains(pc)){
|
||||||
if(HotzoneManager.playersPresent.get(nation).size() >= 5){
|
if(HotzoneManager.playersPresent.get(nation).size() >= 5){
|
||||||
//more than 5, boot player out
|
//more than 5, boot player out
|
||||||
pc.setLoc(pc.bindLoc);
|
pc.setLoc(pc.bindLoc);
|
||||||
|
|||||||
Reference in New Issue
Block a user