mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 11:19:19 +00:00
Check for PreventRemoteMovement NBT tag (#2888)
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user