Skip to content

Commit

Permalink
Add Coords Where Kevin spawn
Browse files Browse the repository at this point in the history
  • Loading branch information
iambibi committed Nov 11, 2024
1 parent 5d4d900 commit c5d1bea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/java/fr/communaywen/core/event/CubeManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/cube.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
posX: 0
posX: -126
posY: 0
posZ: 0
posZ: -87

0 comments on commit c5d1bea

Please sign in to comment.