Added config option to disable wheat replanting.

This commit is contained in:
GJ
2012-03-15 10:24:42 -04:00
parent 3109ee9c2a
commit 558e4f4dd0
4 changed files with 9 additions and 3 deletions

View File

@ -149,7 +149,10 @@ public class Herbalism {
if (data == CropState.RIPE.getData()) {
mat = Material.WHEAT;
xp = LoadProperties.mwheat;
greenThumbWheat(block, player, event, plugin);
if (LoadProperties.wheatRegrowth) {
greenThumbWheat(block, player, event, plugin);
}
}
break;