updated to use Player#spigot instead of CommandSender#spigot (I miss Kotlin)

This commit is contained in:
Sxtanna 2020-07-29 01:49:41 -04:00
parent 68402d244b
commit a78b5fe712

View File

@ -139,7 +139,7 @@ public final class CommandParse extends PlaceholderCommand
} }
else else
{ {
sender.spigot().sendMessage(TextComponent.fromLegacyText(message)); ((Player) sender).spigot().sendMessage(TextComponent.fromLegacyText(message));
} }
} }
} }