|
|
|
@ -178,7 +178,7 @@ public enum LootManager {
@@ -178,7 +178,7 @@ public enum LootManager {
|
|
|
|
|
|
|
|
|
|
if (ItemBase.getItemBase(itemUUID).getType().ordinal() == Enum.ItemType.RESOURCE.ordinal()) { |
|
|
|
|
int chance = ThreadLocalRandom.current().nextInt(1,101); |
|
|
|
|
if(chance > 10) |
|
|
|
|
if(chance > 5) |
|
|
|
|
return null; |
|
|
|
|
int amount = ThreadLocalRandom.current().nextInt(tableRow.minSpawn, tableRow.maxSpawn + 1); |
|
|
|
|
return new MobLoot(mob, ItemBase.getItemBase(itemUUID), amount, false); |
|
|
|
|