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 committed 2013-04-23 17:01:43 +02:00
1 parent f802307056
commit 29e05fd54d
9 files changed
+119 -77

No files matched your search

@@ -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);
}
// -------------------------------------------- //