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)
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user