mirror of
https://github.com/Zrips/Jobs.git
synced 2025-03-11 22:31:04 +01:00
parent
e1d22533d1
commit
7cd0423647
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user