Fixed Water bowls doing their action twice.

Closes #182
This commit is contained in:
Ellpeck 2016-08-02 01:26:52 +02:00
parent 1e00615aaa
commit 66754912ab

View file

@ -41,7 +41,7 @@ public class ItemWaterBowl extends ItemBase{
}
@SubscribeEvent
public void onPlayerInteractEvent(PlayerInteractEvent event){
public void onPlayerInteractEvent(PlayerInteractEvent.RightClickItem event){
if(event.getWorld() != null){
if(ConfigBoolValues.WATER_BOWL.isEnabled()){
if(event.getItemStack() != null && event.getItemStack().getItem() == Items.BOWL){