From b5217375b9dfedec91274c1ca4f72ba112dba7e7 Mon Sep 17 00:00:00 2001 From: LoneDev6 Date: Tue, 27 Aug 2019 00:52:48 +0200 Subject: [PATCH] Fix item display name Remove item display name as it would be annoying (usually added on drops by holograms drops plugins) Former-commit-id: 9da25964808ee4bc4db554c8522e1fb18f99ceaa [formerly 602ca8b646595f8a3deb654dc74d1e6ccebb103a] Former-commit-id: 17324de3dbf73524f0a68bfe1c5e4738ee71087d --- src/main/java/org/maxgamer/quickshop/Shop/RealDisplayItem.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/maxgamer/quickshop/Shop/RealDisplayItem.java b/src/main/java/org/maxgamer/quickshop/Shop/RealDisplayItem.java index 234feac1b..ed779a315 100644 --- a/src/main/java/org/maxgamer/quickshop/Shop/RealDisplayItem.java +++ b/src/main/java/org/maxgamer/quickshop/Shop/RealDisplayItem.java @@ -185,6 +185,7 @@ public class RealDisplayItem implements DisplayItem { this.item.setSilent(true); this.item.setPortalCooldown(Integer.MAX_VALUE); this.item.setVelocity(new Vector(0, 0.1, 0)); + this.item.setCustomNameVisible(false); safeGuard(this.item); Util.debugLog("Spawned new DisplayItem for shop " + shop.getLocation().toString()); }