1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-03-11 22:31:04 +01:00

Added milking mushroom cow with bowl

Closes #740
This commit is contained in:
montlikadani 2020-04-13 15:53:03 +02:00
parent e1d22533d1
commit 7cd0423647

View File

@ -204,7 +204,7 @@ public class JobsPaymentListener implements Listener {
return;
ItemStack itemInHand = Jobs.getNms().getItemInMainHand(player);
if (itemInHand == null || itemInHand.getType() != Material.BUCKET)
if (itemInHand == null || (itemInHand.getType() != Material.BUCKET && itemInHand.getType() != Material.BOWL))
return;
// check if in creative
@ -493,7 +493,7 @@ public class JobsPaymentListener implements Listener {
return;
LivingEntity animal = event.getEntity();
// Entity being tamed must be alive
if (animal.isDead()) {
return;