From dff192f3cedf45cdc8346ba785b26334ad58209d Mon Sep 17 00:00:00 2001 From: Ben Woo <30431861+benwoo1110@users.noreply.github.com> Date: Sun, 3 Sep 2023 14:55:39 +0800 Subject: [PATCH] Make MVWorld constructor non-public --- .../java/com/onarandombox/MultiverseCore/worldnew/MVWorld.java | 2 +- .../com/onarandombox/MultiverseCore/worldnew/OfflineWorld.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/onarandombox/MultiverseCore/worldnew/MVWorld.java b/src/main/java/com/onarandombox/MultiverseCore/worldnew/MVWorld.java index fb52f360..1bfc10d0 100644 --- a/src/main/java/com/onarandombox/MultiverseCore/worldnew/MVWorld.java +++ b/src/main/java/com/onarandombox/MultiverseCore/worldnew/MVWorld.java @@ -12,7 +12,7 @@ public class MVWorld extends OfflineWorld { private final UUID worldUid; - public MVWorld( + MVWorld( @NotNull World world, @NotNull WorldConfig worldConfig ) { diff --git a/src/main/java/com/onarandombox/MultiverseCore/worldnew/OfflineWorld.java b/src/main/java/com/onarandombox/MultiverseCore/worldnew/OfflineWorld.java index d181b2cd..30c18528 100644 --- a/src/main/java/com/onarandombox/MultiverseCore/worldnew/OfflineWorld.java +++ b/src/main/java/com/onarandombox/MultiverseCore/worldnew/OfflineWorld.java @@ -16,7 +16,7 @@ public class OfflineWorld { protected final String worldName; protected final WorldConfig worldConfig; - public OfflineWorld(String worldName, WorldConfig worldConfig) { + OfflineWorld(String worldName, WorldConfig worldConfig) { this.worldName = worldName; this.worldConfig = worldConfig; }