mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-12-23 01:27:33 +01:00
Block water bucket for axolotl as well
This commit is contained in:
parent
d515c6b449
commit
65f5d870db
@ -173,7 +173,7 @@ public class AxolotlController extends MobEntityController {
|
||||
if (npc == null || !npc.isProtected())
|
||||
return super.mobInteract(entityhuman, enumhand);
|
||||
ItemStack itemstack = entityhuman.getItemInHand(enumhand);
|
||||
if (itemstack.getItem() == Items.BUCKET) {
|
||||
if (itemstack.getItem() == Items.BUCKET || itemstack.getItem() == Items.WATER_BUCKET) {
|
||||
return InteractionResult.FAIL;
|
||||
}
|
||||
return super.mobInteract(entityhuman, enumhand);
|
||||
|
Loading…
Reference in New Issue
Block a user