#2878: Null check hover event before transform
This commit is contained in:
parent
a64c34d29e
commit
2e4b08e5ab
@ -41,7 +41,7 @@ public final class ChatComponentTransformer
|
||||
for ( int i = 0; i < components.length; i++ )
|
||||
{
|
||||
BaseComponent next = components[i];
|
||||
if ( next.getHoverEvent().isLegacy() )
|
||||
if ( next.getHoverEvent() == null || next.getHoverEvent().isLegacy() )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user