Further code cleanup

This commit is contained in:
Magnus Ulf
2019-05-06 11:08:28 +02:00
parent 51135db452
commit a6af3c69c8
11 changed files with 11 additions and 22 deletions

View File

@ -55,8 +55,7 @@ public class Rank extends EntityInternal<Rank> implements MPerm.MPermable
public Faction getFaction()
{
EntityInternalMap<Rank> internalMap = (EntityInternalMap<Rank>) this.getContainer();
Faction faction = (Faction) internalMap.getEntity();
return faction;
return (Faction) internalMap.getEntity();
}
// -------------------------------------------- //