forked from MagicBane/Server
LoreEnfce bool for lore mine manager run
This commit is contained in:
@@ -71,6 +71,7 @@ public class Mine extends AbstractGameObject {
|
||||
public ZergTracker zergTracker;
|
||||
|
||||
public Long allowed_teleport_time;
|
||||
public Boolean enforceLore = false;
|
||||
|
||||
/**
|
||||
* ResultSet Constructor
|
||||
@@ -662,6 +663,11 @@ public class Mine extends AbstractGameObject {
|
||||
ChatManager.chatSystemInfo(player,"You Have Entered an Active Mine Area");
|
||||
}
|
||||
Guild nation = player.guild.getNation();
|
||||
|
||||
if(this.enforceLore){
|
||||
LoreMineManager.AuditPlayer(player);
|
||||
}
|
||||
|
||||
if(charactersByNation.containsKey(nation)){
|
||||
if(!charactersByNation.get(nation).contains(player)) {
|
||||
charactersByNation.get(nation).add(player);
|
||||
|
||||
Reference in New Issue
Block a user