Add the actual hover event in sponge...

This commit is contained in:
Draycia committed 2021-05-11 15:50:23 -07:00
1 parent 6308669c1e
commit d9b24569a3
1 file changed
+2
@@ -81,6 +81,8 @@ public class CarbonChatSponge implements CarbonChat {
final TextComponent.Builder builder = text();
builder.hoverEvent(itemStack.createSnapshot());
builder.append(text('[', WHITE));
builder.append(itemStack.get(Keys.DISPLAY_NAME).orElse(itemStack.type().asComponent()));
builder.append(text(']', WHITE));