BG-Software-LLC / SuperiorSkyblock2

Optimized, feature packed Skyblock core.
https://bg-software.com/superiorskyblock/
GNU General Public License v3.0
168 stars 146 forks source link

/is disband BUG ERROR! #2179

Closed CngUmut closed 3 months ago

CngUmut commented 3 months ago

Minecraft's Version

1.16.5 Paper

Plugin's Version

SuperiorSkyblock2-2024.1

Describe the bug

When I delete the island, it does not teleport me to the spawn area. Also, an error comes to the console. And when I delete the island, the man does not disappear, but when I right click on a block, it goes directly.

[13:43:10] [Server thread/INFO]: [SuperiorSkyblock2] LocationSerializer::deserialize ENTER {Spawn,8.500,82.00000,8.500}
[13:43:10] [Server thread/ERROR]: [SuperiorSkyblock2] An unexpected error occurred while deserializing location:
[13:43:10] [Server thread/WARN]: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
[13:43:10] [Server thread/WARN]:    at com.bgsoftware.superiorskyblock.core.serialization.impl.LocationSerializer.deserialize(LocationSerializer.java:39)
[13:43:10] [Server thread/WARN]:    at com.bgsoftware.superiorskyblock.core.serialization.impl.LocationSerializer.deserialize(LocationSerializer.java:11)
[13:43:10] [Server thread/WARN]:    at com.bgsoftware.superiorskyblock.island.SpawnIsland.<init>(SpawnIsland.java:105)
[13:43:10] [Server thread/WARN]:    at com.bgsoftware.superiorskyblock.island.GridManagerImpl.updateSpawn(GridManagerImpl.java:123)
[13:43:10] [Server thread/WARN]:    at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:101)
[13:43:10] [Server thread/WARN]:    at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:485)
[13:43:10] [Server thread/WARN]:    at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1083)
[13:43:10] [Server thread/WARN]:    at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:291)
[13:43:10] [Server thread/WARN]:    at java.base/java.lang.Thread.run(Thread.java:1589)
[13:43:10] [Server thread/WARN]: [SuperiorSkyblock2] Task #526 for SuperiorSkyblock2 v2024.1 generated an exception
java.lang.NullPointerException: Cannot invoke "org.bukkit.Location.getWorld()" because "smartCenter" is null
    at com.bgsoftware.superiorskyblock.island.SpawnIsland.<init>(SpawnIsland.java:110) ~[?:?]
    at com.bgsoftware.superiorskyblock.island.GridManagerImpl.updateSpawn(GridManagerImpl.java:123) ~[?:?]
    at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:101) ~[patched_1.16.5.jar:git-Paper-790]
    at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:485) ~[patched_1.16.5.jar:git-Paper-790]
    at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1083) ~[patched_1.16.5.jar:git-Paper-790]
    at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:291) ~[patched_1.16.5.jar:git-Paper-790]
    at java.lang.Thread.run(Thread.java:1589) [?:?]
[13:43:10] [Server thread/INFO]: [SuperiorSkyblock2] Using LuckPerms as a permissions provider.
[13:43:10] [Server thread/INFO]: [SuperiorSkyblock2] Using ShopGUIPlus as a prices provider.
[13:43:10] [Server thread/INFO]: [SuperiorSkyblock2] Hooked into Essentials for support of vanish status of players.
[13:43:10] [Server thread/INFO]: [SuperiorSkyblock2] Hooked into Essentials for support of afk status of players.
[13:43:10] [Server thread/INFO]: [SuperiorSkyblock2] Using Vault as an economy provider.
[13:43:10] [Server thread/INFO]: [PlaceholderAPI] Successfully registered ınternal expansion: superior [2024.1]
[13:43:10] [Server thread/INFO]: [SuperiorSkyblock2] Using PlaceholderAPI for placeholders support.
[13:43:10] [Server thread/INFO]: [SuperiorSkyblock2] Detected PaperSpigot - Using async chunk-loading support with PaperMC.

To Reproduce

/is disband

Additional Information

No response

OmerBenGera commented 3 months ago

Correct your config file. Put spaces between the x.y.z of the spawn location

CngUmut commented 3 months ago

image

Srcsm commented 3 months ago

image

Looks like there's still a missing space immediately after Spawn,, add one after the comma.

OmerBenGera commented 3 months ago

I am closing this for now Make sure you use the correct format for the spawn location.