mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2026-02-19 02:12:58 +01:00
Smelting!
This commit is contained in:
@@ -113,6 +113,10 @@ public class Permissions {
|
||||
return hasPermission(player, "mcmmo.perks.lucky.repair");
|
||||
}
|
||||
|
||||
public static boolean luckySmelting(Player player) {
|
||||
return hasPermission(player, "mcmmo.perks.lucky.smelting");
|
||||
}
|
||||
|
||||
public static boolean luckySwords(Player player) {
|
||||
return hasPermission(player, "mcmmo.perks.lucky.swords");
|
||||
}
|
||||
@@ -502,6 +506,26 @@ public class Permissions {
|
||||
return hasPermission(player, "mcmmo.ability.blastmining.detonate");
|
||||
}
|
||||
|
||||
/*
|
||||
* MCMMO.ABILITY.SMELTING.*
|
||||
*/
|
||||
|
||||
public static boolean fuelEfficiency(Player player) {
|
||||
return hasPermission(player, "mcmmo.ability.smelting.fuelefficiency");
|
||||
}
|
||||
|
||||
public static boolean secondSmelt(Player player) {
|
||||
return hasPermission(player, "mcmmo.ability.smelting.secondsmelt");
|
||||
}
|
||||
|
||||
public static boolean fluxMining(Player player) {
|
||||
return hasPermission(player, "mcmmo.ability.smelting.fluxmining");
|
||||
}
|
||||
|
||||
public static boolean smeltingVanillaXPBoost(Player player) {
|
||||
return hasPermission(player, "mcmmo.ability.smelting.vanillaxpboost");
|
||||
}
|
||||
|
||||
/*
|
||||
* MCMMO.ITEM.*
|
||||
*/
|
||||
@@ -602,4 +626,8 @@ public class Permissions {
|
||||
public static boolean acrobatics(Player player) {
|
||||
return hasPermission(player, "mcmmo.skills.acrobatics");
|
||||
}
|
||||
|
||||
public static boolean smelting(Player player) {
|
||||
return hasPermission(player, "mcmmo.skills.smelting");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user