mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 19:29:31 +00:00
Fix #3029
This commit is contained in:
1 parent
e56b415eb0
commit
6539e9fb1d
1 file changed
+1
-1
@@ -49,7 +49,7 @@ public class ItemMagnetRing extends ItemBauble {
|
||||
}
|
||||
|
||||
private void onTossItem(ItemTossEvent event) {
|
||||
ItemStack ring = EquipmentHandler.findOrEmpty(this, event.getPlayer());
|
||||
ItemStack ring = EquipmentHandler.findOrEmpty(s -> s.getItem() instanceof ItemMagnetRing, event.getPlayer());
|
||||
if(!ring.isEmpty()) {
|
||||
setCooldown(ring, 100);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user