feat: folia対応

This commit is contained in:
Keisuke Hirata 2026-03-11 19:40:23 +09:00
parent db58c15e2e
commit 1dfaf8494c
2 changed files with 2 additions and 1 deletions

View File

@ -32,6 +32,7 @@ paper {
description = "Teleports players to spawn on join unless they have ignore permission"
version = getVersion().toString()
apiVersion = "1.21"
foliaSupported = true
authors = listOf("Hare-K02")
permissions {
register("onjoinspawn.ignore") {

View File

@ -42,6 +42,6 @@ class App : JavaPlugin(), Listener {
// Teleport player to spawn immediately
// This happens before the player is fully loaded into the world
player.teleport(spawnLocation)
player.teleportAsync(spawnLocation)
}
}