mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 19:24:44 +02:00
MCPC+ checks, notify server owners that they're missing out.
This commit is contained in:
@ -86,7 +86,7 @@ public class Repair {
|
||||
|
||||
protected static int getSalvagedAmount(ItemStack inHand) {
|
||||
// Temporary workaround until they get their stuff fixed.
|
||||
if (mcMMO.p.getServer().getName().equals("MCPC+")) {
|
||||
if (mcMMO.isMCPCEnabled()) {
|
||||
if (ItemUtils.isPickaxe(inHand) || ItemUtils.isAxe(inHand) || ItemUtils.isBow(inHand) || inHand.getType() == Material.BUCKET) {
|
||||
return 3;
|
||||
}
|
||||
|
Reference in New Issue
Block a user