mirror of
https://e.coding.net/circlecloud/QuickShop.git
synced 2025-10-02 12:37:27 +00:00
@ -77,14 +77,10 @@ public class DisplayItem {
|
|||||||
}
|
}
|
||||||
final Location eLoc = e.getLocation().getBlock().getLocation();
|
final Location eLoc = e.getLocation().getBlock().getLocation();
|
||||||
if (eLoc.equals(displayLoc) || eLoc.equals(shop.getLocation())) {
|
if (eLoc.equals(displayLoc) || eLoc.equals(shop.getLocation())) {
|
||||||
final ItemStack near = ((Item) e).getItemStack();
|
|
||||||
// if its the same its a dupe
|
|
||||||
if (this.shop.matches(near)) {
|
|
||||||
e.remove();
|
e.remove();
|
||||||
removed = true;
|
removed = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return removed;
|
return removed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user