mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-25 01:49:49 -05:00
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:
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());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user