From cd9ddd739a028eeef2983bf374f986ae5b5ed611 Mon Sep 17 00:00:00 2001 From: Vasco Lavos Date: Wed, 21 May 2014 00:31:42 +0100 Subject: [PATCH] The magnetizing ring now pulls items to the center of the player, not the corner. --- .../botania/common/item/equipment/bauble/ItemMagnetRing.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MODSRC/vazkii/botania/common/item/equipment/bauble/ItemMagnetRing.java b/MODSRC/vazkii/botania/common/item/equipment/bauble/ItemMagnetRing.java index 158c8c98d..38fcad7ec 100644 --- a/MODSRC/vazkii/botania/common/item/equipment/bauble/ItemMagnetRing.java +++ b/MODSRC/vazkii/botania/common/item/equipment/bauble/ItemMagnetRing.java @@ -35,9 +35,9 @@ public class ItemMagnetRing extends ItemBauble { if(!player.isSneaking()) { int range = 6; - double x = player.posX + 0.5; + double x = player.posX; double y = player.posY -(player.worldObj.isRemote ? 1.62 : 0) + 0.75; - double z = player.posZ + 0.5; + double z = player.posZ; List items = player.worldObj.getEntitiesWithinAABB(EntityItem.class, AxisAlignedBB.getBoundingBox(x - range, y - range, z - range, x + range, y + range, z + range)); for(EntityItem item : items) {