Fix incorrect casing in mapping outposts
This commit is contained in:
parent
5a2871528f
commit
e5a96e8189
|
@ -68,12 +68,12 @@ public class OutpostManager extends MiniPlugin
|
|||
|
||||
public boolean spawnOutpost(Player player, Location location, OutpostType type)
|
||||
{
|
||||
// if (_clansManager.getNetherManager().isInNether(player))
|
||||
// {
|
||||
// _clansManager.message(player, "You are not allowed to place this in " + F.clansNether("The Nether") + ".");
|
||||
//
|
||||
// return false;
|
||||
// }
|
||||
if (_clansManager.getNetherManager().isInNether(player))
|
||||
{
|
||||
_clansManager.message(player, "You are not allowed to place this in " + F.clansNether("The Nether") + ".");
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!_clansManager.isInClan(player))
|
||||
{
|
||||
|
@ -228,7 +228,7 @@ public class OutpostManager extends MiniPlugin
|
|||
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue