Fix being able to use bonemeal to turn tall grass into double plants.

This commit is contained in:
wizjany 2014-01-08 14:56:17 -05:00
parent 5bc670db8b
commit 4805df2f03

View File

@ -841,7 +841,8 @@ private void handleBlockRightClick(PlayerInteractEvent event) {
|| type == BlockID.MELON_STEM
|| type == BlockID.POTATOES
|| type == BlockID.CARROTS
|| type == BlockID.COCOA_PLANT)) {
|| type == BlockID.COCOA_PLANT
|| type == BlockID.LONG_GRASS)) {
if (!plugin.getGlobalRegionManager().hasBypass(player, world)
&& !set.canBuild(localPlayer)) {
event.setCancelled(true);