Show Custom Name
This commit is contained in:
		| @ -89,6 +89,7 @@ public class Merchand implements Listener{ | ||||
| 		m.setGlowing(true); | ||||
| 		m.setInvulnerable(true); | ||||
| 		m.customName(Component.text(names.get(new Random().nextInt(names.size())))); | ||||
| 		m.setCustomNameVisible(true); | ||||
| 		inv = Bukkit.createInventory(null, 9, Component.text(m.getName())); | ||||
| 		Bukkit.getServer().forEachAudience((a) -> { | ||||
| 			if(a instanceof Player ply){ | ||||
|  | ||||
		Reference in New Issue
	
	Block a user