Remove unused agentCacheMap in CUST
This commit is contained in:
parent
c533b170fe
commit
8d1aa176d3
@ -6,7 +6,6 @@ import java.time.LocalDate;
|
|||||||
import java.time.YearMonth;
|
import java.time.YearMonth;
|
||||||
import java.time.format.TextStyle;
|
import java.time.format.TextStyle;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashSet;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
@ -54,7 +53,6 @@ public class CustomerSupport extends MiniPlugin implements ResultSetCallable
|
|||||||
private CustomerSupportRepository _repository;
|
private CustomerSupportRepository _repository;
|
||||||
private PowerPlayClubRepository _powerPlayRepo;
|
private PowerPlayClubRepository _powerPlayRepo;
|
||||||
|
|
||||||
private NautHashMap<Player, HashSet<String>> _agentCacheMap = new NautHashMap<Player, HashSet<String>>();
|
|
||||||
private NautHashMap<Integer, List<String>> _accountBonusLog = new NautHashMap<>();
|
private NautHashMap<Integer, List<String>> _accountBonusLog = new NautHashMap<>();
|
||||||
|
|
||||||
private boolean _allowWeatherChange = false;
|
private boolean _allowWeatherChange = false;
|
||||||
@ -110,14 +108,6 @@ public class CustomerSupport extends MiniPlugin implements ResultSetCallable
|
|||||||
caller.sendMessage(F.main(getName(), "Usage : /check defek7"));
|
caller.sendMessage(F.main(getName(), "Usage : /check defek7"));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void addAgentMapping(Player caller, CoreClient client)
|
|
||||||
{
|
|
||||||
if (!_agentCacheMap.containsKey(caller))
|
|
||||||
_agentCacheMap.put(caller, new HashSet<String>());
|
|
||||||
|
|
||||||
_agentCacheMap.get(caller).add(client.getName());
|
|
||||||
}
|
|
||||||
|
|
||||||
public void showPlayerInfo(Player caller, CoreClient client)
|
public void showPlayerInfo(Player caller, CoreClient client)
|
||||||
{
|
{
|
||||||
String playerName = client.getName();
|
String playerName = client.getName();
|
||||||
@ -470,12 +460,6 @@ public class CustomerSupport extends MiniPlugin implements ResultSetCallable
|
|||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventHandler
|
|
||||||
public void removeMapping(PlayerQuitEvent event)
|
|
||||||
{
|
|
||||||
_agentCacheMap.remove(event.getPlayer());
|
|
||||||
}
|
|
||||||
|
|
||||||
@EventHandler
|
@EventHandler
|
||||||
public void foodLevelChange(FoodLevelChangeEvent event)
|
public void foodLevelChange(FoodLevelChangeEvent event)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user