mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-21 20:52:20 +00:00
Removed setPotionDurationMax call in ItemWaterRing, fixes #68.
This commit is contained in:
1 parent
08413da141
commit
1f4d21c43a
1 file changed
-1
@@ -51,7 +51,6 @@ public class ItemWaterRing extends ItemBauble implements IManaUsingItem {
|
||||
PotionEffect effect = player.getActivePotionEffect(Potion.nightVision);
|
||||
if(effect == null) {
|
||||
PotionEffect neweffect = new PotionEffect(Potion.nightVision.id, Integer.MAX_VALUE, -42, true);
|
||||
neweffect.setPotionDurationMax(true);
|
||||
player.addPotionEffect(neweffect);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user