mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +01:00
Made Spider drops less rare
This commit is contained in:
parent
b1b05a89fe
commit
d49d3ad7a9
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ public class LivingDropEvent{
|
||||||
|
|
||||||
//Drop Cobwebs from Spiders
|
//Drop Cobwebs from Spiders
|
||||||
if(ConfigBoolValues.DO_SPIDER_DROPS.isEnabled() && event.entityLiving instanceof EntitySpider){
|
if(ConfigBoolValues.DO_SPIDER_DROPS.isEnabled() && event.entityLiving instanceof EntitySpider){
|
||||||
if(Util.RANDOM.nextInt(500) <= 0){
|
if(Util.RANDOM.nextInt(80) <= 0){
|
||||||
event.entityLiving.entityDropItem(new ItemStack(Blocks.web, Util.RANDOM.nextInt(2)+1), 0);
|
event.entityLiving.entityDropItem(new ItemStack(Blocks.web, Util.RANDOM.nextInt(2)+1), 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue