2024-12-11 22:26:55 +01:00
|
|
|
--- a/net/minecraft/server/commands/SetWorldSpawnCommand.java
|
|
|
|
+++ b/net/minecraft/server/commands/SetWorldSpawnCommand.java
|
2024-12-14 22:42:43 +01:00
|
|
|
@@ -33,7 +_,7 @@
|
2024-12-11 22:26:55 +01:00
|
|
|
|
2024-12-14 22:42:43 +01:00
|
|
|
private static int setSpawn(CommandSourceStack source, BlockPos pos, float angle) {
|
|
|
|
ServerLevel level = source.getLevel();
|
|
|
|
- if (level.dimension() != Level.OVERWORLD) {
|
|
|
|
+ if (false && level.dimension() != Level.OVERWORLD) { // CraftBukkit - SPIGOT-7649: allow in all worlds
|
2024-12-11 22:26:55 +01:00
|
|
|
source.sendFailure(Component.translatable("commands.setworldspawn.failure.not_overworld"));
|
|
|
|
return 0;
|
|
|
|
} else {
|