mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 10:44:39 +01:00
11 lines
591 B
Diff
11 lines
591 B
Diff
--- a/net/minecraft/server/commands/SetWorldSpawnCommand.java
|
|
+++ b/net/minecraft/server/commands/SetWorldSpawnCommand.java
|
|
@@ -33,7 +_,7 @@
|
|
|
|
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
|
|
source.sendFailure(Component.translatable("commands.setworldspawn.failure.not_overworld"));
|
|
return 0;
|
|
} else {
|