mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-13 16:54:06 +00:00
Better check for the ring of chordata.
This commit is contained in:
1 parent
0bbd6ff341
commit
97d4fd9b3d
1 file changed
+1
-1
@@ -56,7 +56,7 @@ public class ItemWaterRing extends ItemBauble implements IManaUsingItem {
|
||||
player.addPotionEffect(neweffect);
|
||||
}
|
||||
|
||||
if(player.getAir() == 1 && player instanceof EntityPlayer) {
|
||||
if(player.getAir() <= 1 && player instanceof EntityPlayer) {
|
||||
int mana = ManaItemHandler.requestMana(stack, (EntityPlayer) player, 300, true);
|
||||
player.setAir(mana);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user