mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-08 06:26:43 +01:00
Adjust harmful effect so it doesn't fully kill you
This commit is contained in:
parent
3d4f9c079b
commit
d838849df7
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ class PlayerCapabilities implements IPlayer {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (player.world.getDifficulty() != EnumDifficulty.PEACEFUL && player.world.rand.nextInt(20) == 0) {
|
if (player.world.getDifficulty() != EnumDifficulty.PEACEFUL && player.world.rand.nextInt(20) == 0) {
|
||||||
player.addPotionEffect(new PotionEffect(UEffects.FOOD_POISONING, 300, 2, true, true));
|
player.addPotionEffect(new PotionEffect(UEffects.FOOD_POISONING, 3, 2, true, true));
|
||||||
}
|
}
|
||||||
|
|
||||||
player.addPotionEffect(new PotionEffect(MobEffects.WEAKNESS, 2000, 2, true, true));
|
player.addPotionEffect(new PotionEffect(MobEffects.WEAKNESS, 2000, 2, true, true));
|
||||||
|
|
Loading…
Reference in a new issue