移除一行调试输出

This commit is contained in:
2024-12-20 12:04:30 +08:00
parent 31a5d6a963
commit b49115851b

View File

@@ -179,10 +179,9 @@ public class PlayerEventListener implements Listener {
//计算距离,如果重生点距离死亡位置很近,则不提供地图
if (PlayerData.isSameWorld(death, player.getLocation()) && death.distance(player.getLocation()) < 128) {
player.sendMessage("你的死亡位置距离重生点近,本次重生不提供导向地图。");
player.sendMessage("你的死亡位置距离重生点近,本次重生不提供导向地图。");
return;
}
System.out.println("距离:" + death.distance(player.getLocation()));
//创建地图,并设置中心为死亡位置
MapView map = Bukkit.createMap(deathWorld);