minecraft chat parser fix
yes im in local server with no extras and stuff just essentials. then i found out that i can't do j* anything because hoverEvent doesn't exist
This commit is contained in:
@@ -40,10 +40,6 @@ public class MinecraftChatParser implements ChatParser {
|
||||
final Component senderComponent = args.get(0);
|
||||
final Component contents = args.get(1);
|
||||
|
||||
// Find the sender and attempt to map it to a player
|
||||
final HoverEvent<?> hoverEvent = senderComponent.hoverEvent();
|
||||
if (hoverEvent == null || !hoverEvent.action().equals(HoverEvent.Action.SHOW_ENTITY)) return null;
|
||||
|
||||
parameters.put("sender", senderComponent);
|
||||
parameters.put("contents", contents);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user