commit e0c3e9d239743a3501a69576fda726e890468db9
parent 8b1410f1274e71ae41eba8df6c86ca8d493ede97
Author: typable <contact@typable.dev>
Date: Fri, 3 Nov 2023 22:40:48 +0100
fix: Updated creative world name check
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/poppy/Main.java b/src/poppy/Main.java
@@ -456,7 +456,7 @@ public class Main extends JavaPlugin
private boolean changeGameMode(final Player player)
{
- if (!"overworld".equals(player.getWorld().getName())) {
+ if (!"world".equals(player.getWorld().getName())) {
player.sendMessage(ChatColor.RED + "This is not a creative world!");
return true;
}