Skip to content

Commit b620611

Browse files
committed
SpawnPointCommand.kt updated to 1.15.2 forge.
Signed-off-by: Pavel Erokhin (MairwunNx) <MairwunNx@gmail.com>
1 parent 307acda commit b620611

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/kotlin/com/mairwunnx/projectessentials/core/vanilla/commands/SpawnPointCommand.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,9 @@ internal object SpawnPointCommand {
110110

111111
for (serverplayerentity in targets) {
112112
@Suppress("DEPRECATION")
113-
serverplayerentity.setSpawnPoint(pos, true)
113+
serverplayerentity.func_226560_a_(pos, true, false)
114114
}
115+
115116
if (targets.size == 1) {
116117
source.sendFeedback(
117118
TranslationTextComponent(

0 commit comments

Comments
 (0)