You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I've written QuickShop (http://dev.bukkit.org/server-mods/quickshop), but some players are having issues with my display items and your magnets. Now the reason I come to you to ask instead of write my own fix is quite simple, and other people may have similar issues with display items etc.
When scanning for items to pick up, can you please check the time lived by the item, is greater than the tick delay before the item can be picked up? E.g. a spawned item (not itemstack) has
Item.getPickupDelay() and
Item.getTicksLived() properties.
If(Item.getPickupDelay() > Item.getTicksLived()) //Don't magnet the item into the chest
This is NOT just my plugin you're screwing, but anyone who uses a display item too. This is why the issue is with LWC. The time lived by items is also part of the bukkit API.
Thanks! :-)
The text was updated successfully, but these errors were encountered:
…longer than the pick up delay. It fixes instant item pickups (sometimes, when timed right) and also picking up items that plugins don't want picked up.
Hi,
I've written QuickShop (http://dev.bukkit.org/server-mods/quickshop), but some players are having issues with my display items and your magnets. Now the reason I come to you to ask instead of write my own fix is quite simple, and other people may have similar issues with display items etc.
When scanning for items to pick up, can you please check the time lived by the item, is greater than the tick delay before the item can be picked up? E.g. a spawned item (not itemstack) has
Item.getPickupDelay() and
Item.getTicksLived() properties.
If(Item.getPickupDelay() > Item.getTicksLived()) //Don't magnet the item into the chest
This is NOT just my plugin you're screwing, but anyone who uses a display item too. This is why the issue is with LWC. The time lived by items is also part of the bukkit API.
Thanks! :-)
The text was updated successfully, but these errors were encountered: