Fixed green thumb

This commit is contained in:
BuildTools 2020-10-14 10:01:22 +01:00
parent b216901c43
commit 4d19a37fe5

View File

@ -40,6 +40,6 @@ public final class GreenThumb extends EcoEnchant {
if(this.getConfig().getBool(EcoEnchants.CONFIG_LOCATION + "damage"))
ItemDurability.damageItem(player, player.getInventory().getItemInMainHand(), 1, player.getInventory().getHeldItemSlot());
event.getClickedBlock().setType(Material.GRASS);
event.getClickedBlock().setType(Material.GRASS_BLOCK);
}
}