The Solegnolia now negates any rings worn by players inside it.

This commit is contained in:
Vasco Lavos committed 2015-11-11 00:22:12 +00:00
1 parent 018a61f38a
commit 977ae218ea
2 files changed
+7 -1

No files matched your search

@@ -92,6 +92,12 @@ public class ItemMagnetRing extends ItemBauble {
int cooldown = getCooldown(stack);
if(SubTileSolegnolia.hasSolegnoliaAround(player)) {
if(cooldown < 0)
setCooldown(stack, 2);
return;
}
if(cooldown <= 0) {
if(!player.isSneaking()) {
double x = player.posX;