mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +01:00
Wolf summoning now correctly uses up the bones.
Now to figure out why Ocelot summoning isn't using up the fish.
This commit is contained in:
parent
7dc1a2ba72
commit
99bff1a4f9
@ -260,8 +260,10 @@ public class mcPlayerListener implements Listener
|
|||||||
|
|
||||||
if(player.isSneaking() && mcPermissions.getInstance().taming(player) && (action == Action.RIGHT_CLICK_AIR || action == Action.RIGHT_CLICK_BLOCK))
|
if(player.isSneaking() && mcPermissions.getInstance().taming(player) && (action == Action.RIGHT_CLICK_AIR || action == Action.RIGHT_CLICK_BLOCK))
|
||||||
{
|
{
|
||||||
Taming.animalSummon(EntityType.OCELOT, player);
|
if(is.getType().equals(Material.RAW_FISH))
|
||||||
Taming.animalSummon(EntityType.WOLF, player);
|
Taming.animalSummon(EntityType.OCELOT, player);
|
||||||
|
if(is.getType().equals(Material.BONE))
|
||||||
|
Taming.animalSummon(EntityType.WOLF, player);
|
||||||
}
|
}
|
||||||
|
|
||||||
//BLAST MINING
|
//BLAST MINING
|
||||||
|
Loading…
Reference in New Issue
Block a user