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
This commit is contained in:
LoneDev6 authored and GitHub committed 2019-08-27 00:52:48 +02:00
1 parent 9097def511
commit b5217375b9
1 file changed
+1
@@ -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());
}