mirror of
https://github.com/songoda/UltimateStacker.git
synced 2025-01-05 23:37:44 +01:00
Drowned mobs will no longer have cooked drops.
This commit is contained in:
parent
236c8b6262
commit
728008c678
@ -7,6 +7,7 @@ import com.songoda.lootables.Modify;
|
|||||||
import com.songoda.lootables.loot.*;
|
import com.songoda.lootables.loot.*;
|
||||||
import com.songoda.ultimatestacker.UltimateStacker;
|
import com.songoda.ultimatestacker.UltimateStacker;
|
||||||
import com.songoda.ultimatestacker.settings.Settings;
|
import com.songoda.ultimatestacker.settings.Settings;
|
||||||
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.enchantments.Enchantment;
|
import org.bukkit.enchantments.Enchantment;
|
||||||
import org.bukkit.entity.*;
|
import org.bukkit.entity.*;
|
||||||
@ -77,9 +78,8 @@ public class LootablesManager {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return lootManager.runLoot(modify,
|
return lootManager.runLoot(modify,
|
||||||
entity.getFireTicks() != -1,
|
entity.getFireTicks() > 0,
|
||||||
entity.getKiller() != null ? entity.getKiller().getItemInHand() : null,
|
entity.getKiller() != null ? entity.getKiller().getItemInHand() : null,
|
||||||
killer,
|
killer,
|
||||||
loot,
|
loot,
|
||||||
|
Loading…
Reference in New Issue
Block a user