Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ItemStack itemstack = player.getHeldItem(hand);
- FluidStack fluidStack = getFluid(itemstack);
- // empty bucket shouldn't exist, do nothing since it should be handled by the bucket event
- if (fluidStack == null)
- {
- return ActionResult.newResult(EnumActionResult.PASS, itemstack);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement