mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 00:38:35 +01:00
parent
1e00615aaa
commit
66754912ab
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ public class ItemWaterBowl extends ItemBase{
|
||||||
}
|
}
|
||||||
|
|
||||||
@SubscribeEvent
|
@SubscribeEvent
|
||||||
public void onPlayerInteractEvent(PlayerInteractEvent event){
|
public void onPlayerInteractEvent(PlayerInteractEvent.RightClickItem event){
|
||||||
if(event.getWorld() != null){
|
if(event.getWorld() != null){
|
||||||
if(ConfigBoolValues.WATER_BOWL.isEnabled()){
|
if(ConfigBoolValues.WATER_BOWL.isEnabled()){
|
||||||
if(event.getItemStack() != null && event.getItemStack().getItem() == Items.BOWL){
|
if(event.getItemStack() != null && event.getItemStack().getItem() == Items.BOWL){
|
||||||
|
|
Loading…
Reference in a new issue