hmm getTitle() in FieldBlock returns null (presumably accidentally), and forgot to update getters with interfaces.

This commit is contained in:
NewGarbo 2015-11-15 21:03:48 +00:00
parent c6f73d6e9a
commit 580ec27738
4 changed files with 11 additions and 11 deletions

View File

@ -360,7 +360,7 @@ public class ClanInfo
return _memberMap;
}
public HashSet<String> getClaimSet()
public Set<String> getClaimSet()
{
return _claimSet;
}

View File

@ -275,39 +275,39 @@ public class FieldBlock extends MiniPlugin
return _energy;
}
public HashSet<String> getActive()
public Set<String> getActive()
{
return _active;
}
public WeakHashMap<Player, String> getLootString()
public Map<Player, String> getLootString()
{
return _lootString;
}
public WeakHashMap<Player, Integer> getEmptyId()
public Map<Player, Integer> getEmptyId()
{
return _emptyId;
}
public WeakHashMap<Player, Byte> getEmptyData()
public Map<Player, Byte> getEmptyData()
{
return _emptyData;
}
public WeakHashMap<Player, Double> getRegen()
public Map<Player, Double> getRegen()
{
return _regen;
}
public WeakHashMap<Player, Integer> getStock()
public Map<Player, Integer> getStock()
{
return _stock;
}
public WeakHashMap<Player, String> getTitle()
public Map<Player, String> getTitle()
{
return null;
return _title;
}
public ConditionFactory getCondition()

View File

@ -169,7 +169,7 @@ public class FieldMonster extends MiniPlugin
pit.RemoveMonsters();
}
public WeakHashMap<Player, FieldMonsterInput> getInput()
public Map<Player, FieldMonsterInput> getInput()
{
return _input;
}

View File

@ -271,7 +271,7 @@ public class FieldOre extends MiniPlugin
_oreLocations.clear();
}
public HashSet<String> getActivePlayers()
public Set<String> getActivePlayers()
{
return _active;
}