mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +01:00
Merge pull request #281 from Glitchfinder/master
Fixed checked data values for carrots and potatoes.
This commit is contained in:
commit
67499eeff7
@ -202,14 +202,14 @@ public class Herbalism {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case CARROT:
|
case CARROT:
|
||||||
if (((byte) data) == 0x3) {
|
if (data == CropState.RIPE.getData()) {
|
||||||
mat = Material.CARROT;
|
mat = Material.CARROT;
|
||||||
xp = Config.getInstance().getHerbalismXPCarrot();
|
xp = Config.getInstance().getHerbalismXPCarrot();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case POTATO:
|
case POTATO:
|
||||||
if (((byte) data) == 0x3) {
|
if (data == CropState.RIPE.getData()) {
|
||||||
mat = Material.POTATO;
|
mat = Material.POTATO;
|
||||||
xp = Config.getInstance().getHerbalismXPPotato();
|
xp = Config.getInstance().getHerbalismXPPotato();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user