mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 00:07:56 +01:00
30e4583dbe
By: Initial Source <noreply+automated@papermc.io>
12 lines
610 B
Diff
12 lines
610 B
Diff
--- a/net/minecraft/server/commands/SetWorldSpawnCommand.java
|
|
+++ b/net/minecraft/server/commands/SetWorldSpawnCommand.java
|
|
@@ -30,7 +30,7 @@
|
|
private static int setSpawn(CommandSourceStack source, BlockPos pos, float angle) {
|
|
ServerLevel worldserver = source.getLevel();
|
|
|
|
- if (worldserver.dimension() != Level.OVERWORLD) {
|
|
+ if (false && worldserver.dimension() != Level.OVERWORLD) { // CraftBukkit - SPIGOT-7649: allow in all worlds
|
|
source.sendFailure(Component.translatable("commands.setworldspawn.failure.not_overworld"));
|
|
return 0;
|
|
} else {
|