Fix incorrect casing in mapping outposts

This commit is contained in:
AlexTheCoder 2016-08-08 21:54:27 -04:00
parent 5a2871528f
commit e5a96e8189
1 changed files with 7 additions and 7 deletions

View File

@ -68,12 +68,12 @@ public class OutpostManager extends MiniPlugin
public boolean spawnOutpost(Player player, Location location, OutpostType type) public boolean spawnOutpost(Player player, Location location, OutpostType type)
{ {
// if (_clansManager.getNetherManager().isInNether(player)) if (_clansManager.getNetherManager().isInNether(player))
// { {
// _clansManager.message(player, "You are not allowed to place this in " + F.clansNether("The Nether") + "."); _clansManager.message(player, "You are not allowed to place this in " + F.clansNether("The Nether") + ".");
//
// return false; return false;
// } }
if (!_clansManager.isInClan(player)) if (!_clansManager.isInClan(player))
{ {
@ -228,7 +228,7 @@ public class OutpostManager extends MiniPlugin
public Outpost Get(ClanInfo clan) public Outpost Get(ClanInfo clan)
{ {
return clan == null ? null : _outposts.get(clan.getName().toLowerCase()); return clan == null ? null : _outposts.get(clan.getName());
} }
public void queueForRemoval(String name) public void queueForRemoval(String name)