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

Caveblock 1.14.0 not creating island nor resetting old caveblock 1.13 islands #49

Closed
frigid97 opened this issue Jul 10, 2020 · 5 comments
Assignees
Labels
bug Something isn't working under investigation we're looking into it

Comments

@frigid97
Copy link

Description

Describe the bug

Caveblock not creating island nor resetting existing islands when trying /cave reset

Just using the plugin after replacing 1.13 or on a new server it just wouldn't reset or make a new caveblock, and this error appears on the console, fresh server and old server.
unknown png2
unknown

Expected behavior

The previous version still works.

@BONNe BONNe added the bug Something isn't working label Jul 10, 2020
@tastybento tastybento added the under investigation we're looking into it label Jul 11, 2020
@tastybento
Copy link
Member

tastybento commented Jul 11, 2020

Weird. The blueprint bundles have names in them instead of filenames. This is what the default json file should look like:

{
  "uniqueId": "default",
  "icon": "STONE",
  "displayName": "&eThe Default CaveBlock",
  "description": [
    "Default Cave"
  ],
  "requirePermission": false,
  "blueprints": {
    "NORMAL": "cave",
    "NETHER": "nether-cave",
    "THE_END": "end-cave"
  },
  "slot": 0
}

This is what it looks like in the repo:

{
  "uniqueId": "default",
  "icon": "STONE",
  "displayName": "&eThe Default CaveBlock",
  "description": [
    "Default Cave"
  ],
  "requirePermission": false,
  "blueprints": {
    "NORMAL": "the cave",
    "NETHER": "the nether cave",
    "THE_END": "the end cave"
  },
  "slot": 0
}

I'm uploading a fix, but I want to find out the root cause. Maybe it's the Blueprint editor GUI?

Also, these files have been like this for 10 months.

tastybento added a commit that referenced this issue Jul 11, 2020
tastybento added a commit that referenced this issue Jul 11, 2020
@tastybento
Copy link
Member

I pushed a new version to master because right now the download doesn't work at all.

@frigid97
Copy link
Author

frigid97 commented Jul 13, 2020

After updating it to caveblock vers 1.14.1, got the full error now

[17:47:43 ERROR]: Could not pass event IslandPreclearEvent to BentoBox v1.14.0
java.lang.NullPointerException: null
at world.bentobox.level.objects.LevelsData.remove(LevelsData.java:169) ~[?:?]
at world.bentobox.level.LevelsManager.removeEntry(LevelsManager.java:401) ~[?:?]
at world.bentobox.level.listeners.IslandActivitiesListeners.remove(IslandActivitiesListeners.java:73) ~[?:?]
at world.bentobox.level.listeners.IslandActivitiesListeners.onIslandDelete(IslandActivitiesListeners.java:68) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor359.execute(Unknown Source) ~[?:?] at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.16.1.jar:git-Paper-79]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.16.1.jar:git-Paper-79]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.16.1.jar:git-Paper-79] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607) ~[patched_1.16.1.jar:git-Paper-79]
at world.bentobox.bentobox.api.events.island.IslandEvent$IslandEventBuilder.build(IslandEvent.java:747) ~[?:?]
at world.bentobox.bentobox.api.commands.island.IslandResetCommand.resetIsland(IslandResetCommand.java:129) ~[?:?]
at world.bentobox.bentobox.api.commands.island.IslandResetCommand.execute(IslandResetCommand.java:92) ~[?:?]
at world.bentobox.bentobox.panels.IslandCreationPanel.lambda$openPanel$2(IslandCreationPanel.java:55) ~[?:?]
at world.bentobox.bentobox.listeners.PanelListenerManager.lambda$onInventoryClick$0(PanelListenerManager.java:56) ~[?:?]
at java.util.Optional.ifPresent(Unknown Source) ~[?:1.8.0_251]
at world.bentobox.bentobox.listeners.PanelListenerManager.onInventoryClick(PanelListenerManager.java:54) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor405.execute(Unknown Source) ~[?:?] at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.16.1.jar:git-Paper-79]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.16.1.jar:git-Paper-79]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.16.1.jar:git-Paper-79] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607) ~[patched_1.16.1.jar:git-Paper-79]
at net.minecraft.server.v1_16_R1.PlayerConnection.a(PlayerConnection.java:2421) ~[patched_1.16.1.jar:git-Paper-79]
at net.minecraft.server.v1_16_R1.PacketPlayInWindowClick.a(SourceFile:32) ~[patched_1.16.1.jar:git-Paper-79]
at net.minecraft.server.v1_16_R1.PacketPlayInWindowClick.a(SourceFile:10) ~[patched_1.16.1.jar:git-Paper-79]
at net.minecraft.server.v1_16_R1.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:23) ~[patched_1.16.1.jar:git-Paper-79]
at net.minecraft.server.v1_16_R1.TickTask.run(SourceFile:18) ~[patched_1.16.1.jar:git-Paper-79]
at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.16.1.jar:git-Paper-79]
at net.minecraft.server.v1_16_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[patched_1.16.1.jar:git-Paper-79]
at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.16.1.jar:git-Paper-79]
at net.minecraft.server.v1_16_R1.MinecraftServer.aZ(MinecraftServer.java:1136) ~[patched_1.16.1.jar:git-Paper-79]
at net.minecraft.server.v1_16_R1.MinecraftServer.executeNext(MinecraftServer.java:1129) ~[patched_1.16.1.jar:git-Paper-79]
at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeAll(IAsyncTaskHandler.java:95) ~[patched_1.16.1.jar:git-Paper-79]
at net.minecraft.server.v1_16_R1.MinecraftServer.a(MinecraftServer.java:1259) ~[patched_1.16.1.jar:git-Paper-79] at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:1000) ~[patched_1.16.1.jar:git-Paper-79] at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.1.jar:git-Paper-79]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_251]
[17:47:43 ERROR]: [BentoBox] Blueprint bundle has no normal world blueprint, using default
[17:47:43 ERROR]: [BentoBox] NO DEFAULT BLUEPRINT FOUND! Make sure 'island.blu' exists!

@tastybento
Copy link
Member

tastybento commented Jul 13, 2020

@frigid97 assuming you haven't customized any blueprints, delete the cave block blueprint folder and reboot. Alternatively, do /cba bp and set a blueprint for each missing world.

@frigid97
Copy link
Author

Yes, deleting the blueprint folder worked, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working under investigation we're looking into it
Projects
None yet
Development

No branches or pull requests

4 participants