移除一行调试输出
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user