1.19.4-pre1
This commit is contained in:
1 parent
4d842ae382
commit
4c8e477f4b
15 files changed
+37
-30
No files matched your search
@@ -311,7 +311,7 @@ public class PlayerCommand
|
||||
}
|
||||
|
||||
MinecraftServer server = source.getServer();
|
||||
if (!Level.isInSpawnableBounds(new BlockPos(pos.x, pos.y, pos.z)))
|
||||
if (!Level.isInSpawnableBounds(BlockPos.containing(pos.x, pos.y, pos.z)))
|
||||
{
|
||||
Messenger.m(context.getSource(), "rb Player "+playerName+" cannot be placed outside of the world");
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user