mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-28 03:34:43 +02:00
Add Friendly Fire permission for parties
This removes the friendly fire config option previously created Both attacker and defender must have this option Closes #648
This commit is contained in:
@ -689,4 +689,12 @@ public final class Permissions {
|
||||
public static boolean smelting(Player player) {
|
||||
return hasPermission(player, "mcmmo.skills.smelting");
|
||||
}
|
||||
|
||||
/*
|
||||
* MCMMO.PARTY.*
|
||||
*/
|
||||
|
||||
public static boolean friendlyFire(Player player) {
|
||||
return hasPermission(player, "mcmmo.party.friendlyfire");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user