diff --git a/src/gibstick/bukkit/discosheep/SheepDeshearer.java b/src/gibstick/bukkit/discosheep/SheepDeshearer.java index 607cfd3..ced3527 100644 --- a/src/gibstick/bukkit/discosheep/SheepDeshearer.java +++ b/src/gibstick/bukkit/discosheep/SheepDeshearer.java @@ -35,7 +35,7 @@ public class SheepDeshearer implements Listener { @EventHandler public void onCreatureSpawn(CreatureSpawnEvent e){ - if(e.getEntity() instanceof Sheep){ + if(e.getEntity() instanceof Sheep && e.getSpawnReason().equals(CreatureSpawnEvent.SpawnReason.BREEDING)){ for(DiscoParty party : parent.getParties()){ if(party.getSheep().contains((Sheep)e.getEntity())){ e.setCancelled(true);