BG-Software-LLC / SSB-SlimeWorldManager

An addon for SuperiorSkyblock2 that adds SlimeWorldManager support for worlds management!
21 stars 18 forks source link

com.bgsoftware.ssbslimeworldmanager.hook.SlimeWorldsProvider crashes with latest dev build #55

Closed RobotHanzo closed 3 months ago

RobotHanzo commented 3 months ago

Minecraft's Version

1.20.6 AdvancedSlimePaper

Plugin's Version

2024.1 DEV #280

Describe the bug

Server crashes when using the latest dev build of the main plugin

To Reproduce

Start the server with the latest dev build of the main plugin Then you will crash with the following stacktrace when trying to enter an island

java.lang.AbstractMethodError: Receiver class com.bgsoftware.ssbslimeworldmanager.hook.SlimeWorldsProvider does not define or inherit an implementation of the resolved method 'abstract org.bukkit.World getIslandsWorld(com.bgsoftware.superiorskyblock.api.island.Island, com.bgsoftware.superiorskyblock.api.world.Dimension)' of interface com.bgsoftware.superiorskyblock.api.hooks.WorldsProvider.
    at SuperiorSkyblock2-2024.1-b280.jar//com.bgsoftware.superiorskyblock.island.GridManagerImpl.getIslandsWorld(GridManagerImpl.java:655)
    at SuperiorSkyblock2-2024.1-b280.jar//com.bgsoftware.superiorskyblock.island.SIsland.getCenter(SIsland.java:793)
    at SuperiorSkyblock2-2024.1-b280.jar//com.bgsoftware.superiorskyblock.island.SIsland.getIslandHome(SIsland.java:843)
    at SuperiorSkyblock2-2024.1-b280.jar//com.bgsoftware.superiorskyblock.player.algorithm.DefaultPlayerTeleportAlgorithm.teleport(DefaultPlayerTeleportAlgorithm.java:46)
    at SuperiorSkyblock2-2024.1-b280.jar//com.bgsoftware.superiorskyblock.player.SSuperiorPlayer.teleport(SSuperiorPlayer.java:429)
    at SuperiorSkyblock2-2024.1-b280.jar//com.bgsoftware.superiorskyblock.player.SSuperiorPlayer.teleport(SSuperiorPlayer.java:421)
    at SuperiorSkyblock2-2024.1-b280.jar//com.bgsoftware.superiorskyblock.commands.player.CmdTeleport.teleportToIsland(CmdTeleport.java:85)
    at SuperiorSkyblock2-2024.1-b280.jar//com.bgsoftware.superiorskyblock.commands.player.CmdTeleport.execute(CmdTeleport.java:74)
    at SuperiorSkyblock2-2024.1-b280.jar//com.bgsoftware.superiorskyblock.commands.ISuperiorCommand.execute(ISuperiorCommand.java:18)
    at SuperiorSkyblock2-2024.1-b280.jar//com.bgsoftware.superiorskyblock.commands.CommandsManagerImpl$PluginCommand.execute(CommandsManagerImpl.java:309)
    at SuperiorSkyblock2-2024.1-b280.jar//com.bgsoftware.superiorskyblock.commands.CommandsManagerImpl.dispatchSubCommand(CommandsManagerImpl.java:165)
    at SuperiorSkyblock2-2024.1-b280.jar//com.bgsoftware.superiorskyblock.commands.CommandsManagerImpl.dispatchSubCommand(CommandsManagerImpl.java:142)
    at SuperiorSkyblock2-2024.1-b280.jar//com.bgsoftware.superiorskyblock.commands.CommandsManagerImpl$PluginCommand.execute(CommandsManagerImpl.java:333)
    at io.papermc.paper.command.brigadier.bukkit.BukkitCommandNode$BukkitBrigCommand.run(BukkitCommandNode.java:86)
    at com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73)
    at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:31)
    at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:19)
    at net.minecraft.commands.execution.UnboundEntryAction.lambda$bind$0(UnboundEntryAction.java:8)
    at net.minecraft.commands.execution.CommandQueueEntry.execute(CommandQueueEntry.java:5)
    at net.minecraft.commands.execution.ExecutionContext.runCommandQueue(ExecutionContext.java:103)
    at net.minecraft.commands.Commands.executeCommandInContext(Commands.java:442)
    at net.minecraft.commands.Commands.performCommand(Commands.java:349)
    at net.minecraft.commands.Commands.performCommand(Commands.java:336)
    at net.minecraft.commands.Commands.performCommand(Commands.java:331)
    at net.minecraft.server.network.ServerGamePacketListenerImpl.performUnsignedChatCommand(ServerGamePacketListenerImpl.java:2202)
    at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$14(ServerGamePacketListenerImpl.java:2176)
    at net.minecraft.server.TickTask.run(TickTask.java:18)
    at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:151)
    at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24)
    at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1529)
    at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:195)
    at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:125)
    at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1506)
    at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1429)
    at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:135)
    at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1395)
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1256)
    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323)
    at java.base/java.lang.Thread.run(Thread.java:1570)

Additional Information

Caused by https://github.com/BG-Software-LLC/SuperiorSkyblock2/pull/2134

OmerBenGera commented 3 months ago

Check out latest dev build, let me know if it is fixed

RobotHanzo commented 3 months ago

Check out latest dev build, let me know if it is fixed

Server no longer crashes, thank you