mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-25 01:49:49 -05:00
Remove useless check
Former-commit-id: 7aabc78b59409ee43109c72ab1b02b82b989057c [formerly 4e889b61a391dcaaf25e366ab582f3b29f31a23a] Former-commit-id: c44217955eb1297bb634cab3270642449192b788
This commit is contained in:
1 parent
3043a36950
commit
9bd3d01d3b
1 file changed
-3
@@ -7,7 +7,6 @@ import org.bukkit.Bukkit;
|
||||
import org.bukkit.Chunk;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.entity.Entity;
|
||||
import org.bukkit.entity.EntityType;
|
||||
import org.bukkit.entity.Item;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.bukkit.inventory.meta.ItemMeta;
|
||||
@@ -120,8 +119,6 @@ public class RealDisplayItem implements DisplayItem {
|
||||
return false;
|
||||
Chunk c = displayLoc.getChunk();
|
||||
for (Entity e : c.getEntities()) {
|
||||
if (e.getType() != EntityType.DROPPED_ITEM)
|
||||
continue;
|
||||
if (!(e instanceof Item))
|
||||
continue;
|
||||
if (this.item == null)
|
||||
|
||||
Reference in new issue
Block a user