Add default kick msg component (#6886)

This commit is contained in:
Jake Potrebic
2022-05-31 23:20:12 -07:00
parent 67275a04a7
commit 62f8950e86
3 changed files with 13 additions and 0 deletions

View File

@@ -354,6 +354,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
}
// Paper start
@@ -0,0 +0,0 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
@Override
public void kick(final net.kyori.adventure.text.Component message) {
+ kick(message, org.bukkit.event.player.PlayerKickEvent.Cause.PLUGIN);