mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 11:44:19 +01: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 {
|