mirror of
https://github.com/songoda/UltimateStacker.git
synced 2025-02-05 22:11:21 +01:00
Instance of Sheep
This commit is contained in:
parent
4eb899c648
commit
8d43089508
@ -50,7 +50,7 @@ public class LootablesManager {
|
||||
|
||||
private List<Drop> runLoot(LivingEntity entity, Loot loot, int rerollChance, int looting) {
|
||||
Modify modify = null;
|
||||
if (entity.getType() == EntityType.SHEEP) {
|
||||
if (entity instanceof Sheep) {
|
||||
modify = (Loot loot2) -> {
|
||||
CompatibleMaterial material = loot2.getMaterial();
|
||||
if (material.name().contains("WOOL") && ((Sheep) entity).getColor() != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user