mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 03:35:51 +00:00
commit
4131a900e1
@ -149,7 +149,7 @@ public class TalismanListener implements Listener {
|
||||
// Did the tool in our hand broke or was it an Armorpiece?
|
||||
if (!inv.getItem(inv.getHeldItemSlot()).equals(e.getBrokenItem())) {
|
||||
for (int s : armorSlots) {
|
||||
if (inv.getItem(s).equals(e.getBrokenItem())) {
|
||||
if (e.getBrokenItem().equals(inv.getItem(s))) {
|
||||
slot = s;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user