mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2024-11-25 05:46:13 +00:00
12 lines
682 B
Diff
12 lines
682 B
Diff
--- a/net/minecraft/server/commands/CommandSetWorldSpawn.java
|
|
+++ b/net/minecraft/server/commands/CommandSetWorldSpawn.java
|
|
@@ -30,7 +30,7 @@
|
|
private static int setSpawn(CommandListenerWrapper commandlistenerwrapper, BlockPosition blockposition, float f) {
|
|
WorldServer worldserver = commandlistenerwrapper.getLevel();
|
|
|
|
- if (worldserver.dimension() != World.OVERWORLD) {
|
|
+ if (false && worldserver.dimension() != World.OVERWORLD) { // CraftBukkit - SPIGOT-7649: allow in all worlds
|
|
commandlistenerwrapper.sendFailure(IChatBaseComponent.translatable("commands.setworldspawn.failure.not_overworld"));
|
|
return 0;
|
|
} else {
|