mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-20 04:09:43 +00:00
Fix for not always dropping ender pearls.
This commit is contained in:
1 parent
51865af400
commit
3a234d8781
1 file changed
+1
-1
@@ -100,7 +100,7 @@ public class ItemDarkSteelSword extends ItemSword implements IEnergyContainerIte
|
||||
if(isEquipped(player)) {
|
||||
if(evt.entityLiving instanceof EntityEnderman) {
|
||||
int numPearls = 0;
|
||||
if(Math.random() >= Config.darkSteelSwordEnderPearlDropChance) {
|
||||
if(Math.random() <= Config.darkSteelSwordEnderPearlDropChance) {
|
||||
numPearls++;
|
||||
}
|
||||
for (int i = 0; i < evt.lootingLevel; i++) {
|
||||
|
||||
Reference in new issue
Block a user