From c5d1beae188ca76da3a370aa6307819bde83a35d Mon Sep 17 00:00:00 2001 From: iambibi Date: Mon, 11 Nov 2024 12:08:22 +0100 Subject: [PATCH] Add Coords Where Kevin spawn --- src/main/java/fr/communaywen/core/event/CubeManager.java | 4 ++-- src/main/resources/cube.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/fr/communaywen/core/event/CubeManager.java b/src/main/java/fr/communaywen/core/event/CubeManager.java index 1df91fd0..83b669f0 100644 --- a/src/main/java/fr/communaywen/core/event/CubeManager.java +++ b/src/main/java/fr/communaywen/core/event/CubeManager.java @@ -41,8 +41,8 @@ public CubeManager(AywenCraftPlugin plugin) { World world = Bukkit.getWorld("world"); if (world == null) return; - int startX = plugin.getManagers().getKevinConfig().getInt("posX", 279); - int startZ = plugin.getManagers().getKevinConfig().getInt("posZ", 139); + int startX = plugin.getManagers().getKevinConfig().getInt("posX", -126); + int startZ = plugin.getManagers().getKevinConfig().getInt("posZ", -87); int startY = world.getHighestBlockYAt(startX, startZ); currentLocation = new Location(world, startX, startY, startZ); diff --git a/src/main/resources/cube.yml b/src/main/resources/cube.yml index a1f9db61..3b16b965 100644 --- a/src/main/resources/cube.yml +++ b/src/main/resources/cube.yml @@ -1,3 +1,3 @@ -posX: 0 +posX: -126 posY: 0 -posZ: 0 \ No newline at end of file +posZ: -87 \ No newline at end of file