Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.21 Support #33

Open
Olthoo opened this issue Jul 20, 2024 · 3 comments
Open

1.21 Support #33

Olthoo opened this issue Jul 20, 2024 · 3 comments
Labels
Type: Bug A bug in code.

Comments

@Olthoo
Copy link

Olthoo commented Jul 20, 2024

Description

Describe the bug

The addon doesn't work on 1.21

[01:06:07 ERROR]: [BentoBox] Skipping DragonFights due to an unhandled exception... [01:06:07 ERROR]: [BentoBox] java.lang.ArrayIndexOutOfBoundsException: Index 3 out of bounds for length 3 at DragonFights-1721488638103.jar//io.github.iltotore.customentity.util.ServerVersion.fromServer(ServerVersion.java:59) at DragonFights-1721488638103.jar//lv.id.bonne.dragonfights.entity.CustomEntityAPI.getAPI(CustomEntityAPI.java:33) at DragonFights-1721488638103.jar//lv.id.bonne.dragonfights.DragonFightsAddon.onLoad(DragonFightsAddon.java:43) at BentoBox.jar//world.bentobox.bentobox.managers.AddonsManager.initializeAddon(AddonsManager.java:254) at BentoBox.jar//world.bentobox.bentobox.managers.AddonsManager.loadAddon(AddonsManager.java:191) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:1024) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) at BentoBox.jar//world.bentobox.bentobox.managers.AddonsManager.loadAddons(AddonsManager.java:150) at BentoBox.jar//world.bentobox.bentobox.BentoBox.onEnable(BentoBox.java:174) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:288) at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:202) at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:520) at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:654) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:603) at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:327) at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1229) at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:333) at java.base/java.lang.Thread.run(Thread.java:1583)

Steps to reproduce the behavior

have a server on 1.21
try to use the addon

Expected behavior

The addon is working

Screenshots and videos (Optional)

Environment

BentoBox Version (Mandatory)
here is full log with /version and /pl https://mclo.gs/OfAQW6K
_______

Plugins (Optional)

_______

Additional context (Optional)

@SirvydasS
Copy link

Having same problem

@BONNe
Copy link
Member

BONNe commented Jul 28, 2024

DragonFight addon added a new entity in Minecraft with name: BentoBox_Ender_Dragon.
Unfortunately, 1.21 changed things and locked down their old entry point. I have not figured out how to add this entity to the game yet.

Sorry.

@BONNe BONNe added the Type: Bug A bug in code. label Jul 28, 2024
@SirvydasS
Copy link

Can we still expect it to be fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug A bug in code.
Projects
None yet
Development

No branches or pull requests

3 participants