Added more faction permissions. Allies can now teleport to each others homes per default.

This commit is contained in:
Olof Larsson
2014-10-03 09:01:36 +02:00
parent ebfbbf4555
commit e722662223
26 changed files with 133 additions and 120 deletions

View File

@@ -88,8 +88,8 @@ public class Econ
// Factions can be controlled by those that have permissions
if (you instanceof Faction)
{
if (i instanceof Faction && MPerm.getWithdraw().has((Faction)i, fYou)) return true;
if (i instanceof MPlayer && MPerm.getWithdraw().has((MPlayer)i, fYou, false)) return true;
if (i instanceof Faction && MPerm.getPermWithdraw().has((Faction)i, fYou)) return true;
if (i instanceof MPlayer && MPerm.getPermWithdraw().has((MPlayer)i, fYou, false)) return true;
}
// Otherwise you may not! ;,,;