Check for PreventRemoteMovement NBT tag (#2888)

This commit is contained in:
comp500 authored and Vincent Lee committed 2019-04-29 21:53:59 -05:00
1 parent 6e6dc44a5e
commit 7416d8e25a
1 file changed
+1 -1
@@ -109,7 +109,7 @@ public class ItemMagnetRing extends ItemBauble {
}
private boolean canPullItem(EntityItem item) {
if(item.isDead || item.pickupDelay >= 40 || SubTileSolegnolia.hasSolegnoliaAround(item))
if(item.isDead || item.pickupDelay >= 40 || SubTileSolegnolia.hasSolegnoliaAround(item) || item.getEntityData().getBoolean("PreventRemoteMovement"))
return false;
ItemStack stack = item.getItem();