📜  bukkit 命令发送者是玩家 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:35.459000             🧑  作者: Mango

代码示例1
if(sender instanceof Player) {
  Player player = (Player) sender;
  // stuff here that requires the player object
}