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:
parent
ea7a83772a
commit
ada2f66cdb
1 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue