Make consumption into a curse
This commit is contained in:
parent
a8dd0954f0
commit
479e6dd0ba
1 changed files with 5 additions and 0 deletions
|
@ -42,6 +42,11 @@ public class ConsumptionMending extends Enchantment
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isCurse() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getMinCost(int pLevel) {
|
public int getMinCost(int pLevel) {
|
||||||
return 25 + (pLevel-1);
|
return 25 + (pLevel-1);
|
||||||
|
|
Reference in a new issue