Introducing a power Mixin since Bukkit does not allow permissions for offline players and we want to know for offline players. Servers wanting individual power rules can implement and inject this mixin.

This commit is contained in:
Olof Larsson
2013-04-23 17:01:43 +02:00
parent f802307056
commit 29e05fd54d
9 changed files with 119 additions and 77 deletions

View File

@ -38,7 +38,7 @@ public class FactionsEventPowerChange extends FactionsEventAbstractSender
super(sender);
this.uplayer = uplayer;
this.reason = reason;
this.newPower = newPower;
this.newPower = uplayer.getLimitedPower(newPower);
}
// -------------------------------------------- //