From 9e16b88ea613ae69850e434c73b9c0207b7d8230 Mon Sep 17 00:00:00 2001 From: Danielle Voznyy Date: Tue, 5 Dec 2023 15:15:41 -0500 Subject: [PATCH] Bump geary snapshot --- .../geary/papermc/plugin/commands/LocateCommand.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/geary-papermc-plugin/src/main/kotlin/com/mineinabyss/geary/papermc/plugin/commands/LocateCommand.kt b/geary-papermc-plugin/src/main/kotlin/com/mineinabyss/geary/papermc/plugin/commands/LocateCommand.kt index 870ebdd..6e89181 100644 --- a/geary-papermc-plugin/src/main/kotlin/com/mineinabyss/geary/papermc/plugin/commands/LocateCommand.kt +++ b/geary-papermc-plugin/src/main/kotlin/com/mineinabyss/geary/papermc/plugin/commands/LocateCommand.kt @@ -27,14 +27,14 @@ fun Command.locate() { if (radius <= 0) { Bukkit.getWorlds().forEach { world -> world.entities.filter { it.toGeary().deepInstanceOf(key.toEntity()) }.forEach { entity -> - val (x,y,z) = entity.location.toBlockLocation().toVector() + val (x, y, z) = entity.location.toBlockLocation().toVector() player.info("Found ${key.key} at $x,$y,$z in ${entity.world.name}") } } } else { player.location.getNearbyEntities(radius.toDouble(), radius.toDouble(), radius.toDouble()) .filter { it.toGeary().deepInstanceOf(key.toEntity()) }.forEach { entity -> - val (x,y,z) = entity.location.toBlockLocation().toVector() + val (x, y, z) = entity.location.toBlockLocation().toVector() player.info("Found ${key.key} at $x,$y,$z") } }