Closed jtJava closed 2 months ago
/viaversion dump
https://dump.viaversion.com/f4978ea8ff7887f0a88ed88ac2a056893fe618ac6464f22d5750d9be02fbecc5
https://hastebin.skyra.pw/gujiyosovu.prolog https://mclo.gs/CPI9jnT
Clicking on the following itemstack in a menu causes the client to be disconnected. Colors class is just legacy format coloring
@Override public ItemStack getDisplayedItem(Player player) { // If slot is not open we display a barrier block with rank message if (!this.openSlot) { return new ItemBuilder(Material.BARRIER) .name(Colors.GRAY + "Create Custom Difficulty " + (this.difficultyIndex + 1)) .lore("", Colors.PRIMARY + "Only " + Colors.AQUA + "Premium" + Colors.PRIMARY + " players can", Colors.PRIMARY + "create multiple custom difficulties!") .build(); } ArenaProfile profile = Profiles.getProfile(ArenaProfile.class, player); BotProperties properties = profile.getCustomDifficultyProperties(this.difficultyIndex); if (properties == null) { return new ItemBuilder(Material.OAK_SIGN) .name(Colors.PRIMARY + "Create Custom Difficulty " + (this.difficultyIndex + 1)) .lore("", Colors.GREEN + Colors.B + "Click to create!").build(); } else { return new ItemBuilder(Material.WRITTEN_BOOK) .name(Colors.PRIMARY + "Custom Difficulty " + Colors.SECONDARY + properties.getNamePrefix()) .lore("", Colors.GREEN + Colors.B + "Left-click to play!", Colors.GRAY + Colors.I + "Right-click to edit.", Colors.GRAY + Colors.I + "Shift-click to delete.") .flags() .build(); } }
Player should not be disconnected due to a netty error
No response
Please provide a full server and client log as well as trying to use latest Via* addons
/viaversion dump
Outputhttps://dump.viaversion.com/f4978ea8ff7887f0a88ed88ac2a056893fe618ac6464f22d5750d9be02fbecc5
Console Error
Bug Description
Clicking on the following itemstack in a menu causes the client to be disconnected. Colors class is just legacy format coloring
Steps to Reproduce
Expected Behavior
Player should not be disconnected due to a netty error
Additional Server Info
No response
Checklist