mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-02 08:39:49 +01:00
Fixing checked data values for carrots and potatoes.
This commit is contained in:
parent
42aa426991
commit
8871964be0
@ -202,14 +202,14 @@ public class Herbalism {
|
||||
break;
|
||||
|
||||
case CARROT:
|
||||
if (((byte) data) == 0x3) {
|
||||
if (data == CropState.RIPE.getData()) {
|
||||
mat = Material.CARROT;
|
||||
xp = Config.getInstance().getHerbalismXPCarrot();
|
||||
}
|
||||
break;
|
||||
|
||||
case POTATO:
|
||||
if (((byte) data) == 0x3) {
|
||||
if (data == CropState.RIPE.getData()) {
|
||||
mat = Material.POTATO;
|
||||
xp = Config.getInstance().getHerbalismXPPotato();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user