(net.minecraftforge.event.entity.player.UseHoeEvent aEvent)
| 1228 | } |
| 1229 | |
| 1230 | @SubscribeEvent(priority = EventPriority.LOWEST) |
| 1231 | public void onUseHoeEvent(net.minecraftforge.event.entity.player.UseHoeEvent aEvent) { |
| 1232 | if (aEvent.world.getBlock(aEvent.x, aEvent.y, aEvent.z) == Blocks.dirt && aEvent.world.getBlockMetadata(aEvent.x, aEvent.y, aEvent.z) != 0) aEvent.setCanceled(T); |
| 1233 | } |
| 1234 | |
| 1235 | @SubscribeEvent(priority = EventPriority.LOWEST) |
| 1236 | @SuppressWarnings("unlikely-arg-type") |
nothing calls this directly
no test coverage detected