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

[Bug] - Finishing Plot gives exception #144

Open
Zoriot opened this issue Jan 2, 2025 · 0 comments
Open

[Bug] - Finishing Plot gives exception #144

Zoriot opened this issue Jan 2, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Zoriot
Copy link
Member

Zoriot commented Jan 2, 2025

Description

Creating the schematic step fails.
It seems there a 2 issues. 1) we do some stuff async which we shouldn't do 2) the selection we make is wrong? At least when starting fresh 👀🤔

Steps to Reproduce

  1. Start with nothing - Follow the Wiki Entry for setup
  2. Review Plot
  3. See Empty schematic + error in console + the plot is voided on the plotworld
[00:33:27] [Craft Scheduler Thread - 56 - Plot-System/INFO]: [VoidGen] {"caves":false,"decoration":false,"mobs":false,"structures":false,"noise":false,"surface":false,"bedrock":false}
[00:33:27] [Craft Scheduler Thread - 56 - Plot-System/WARN]: java.lang.IllegalStateException: WorldBorderCenterChangeEvent may only be triggered synchronously.
[00:33:27] [Craft Scheduler Thread - 56 - Plot-System/WARN]: 	at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:42)
[00:33:27] [Craft Scheduler Thread - 56 - Plot-System/WARN]: 	at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131)
[00:33:27] [Craft Scheduler Thread - 56 - Plot-System/WARN]: 	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628)
[00:33:27] [Craft Scheduler Thread - 56 - Plot-System/WARN]: 	at org.bukkit.event.Event.callEvent(Event.java:45)
[00:33:27] [Craft Scheduler Thread - 56 - Plot-System/WARN]: 	at net.minecraft.world.level.border.WorldBorder.setCenter(WorldBorder.java:150)
[00:33:27] [Craft Scheduler Thread - 56 - Plot-System/WARN]: 	at net.minecraft.world.level.border.WorldBorder.applySettings(WorldBorder.java:302)
[00:33:27] [Craft Scheduler Thread - 56 - Plot-System/WARN]: 	at net.minecraft.server.MinecraftServer.initWorld(MinecraftServer.java:761)
[00:33:27] [Craft Scheduler Thread - 56 - Plot-System/WARN]: 	at org.bukkit.craftbukkit.CraftServer.createWorld(CraftServer.java:1464)
[00:33:27] [Craft Scheduler Thread - 56 - Plot-System/WARN]: 	at org.bukkit.Bukkit.createWorld(Bukkit.java:838)
[00:33:27] [Craft Scheduler Thread - 56 - Plot-System/WARN]: 	at org.bukkit.WorldCreator.createWorld(WorldCreator.java:502)
[00:33:27] [Craft Scheduler Thread - 56 - Plot-System/WARN]: 	at multiverse-core-4.3.14.jar//com.onarandombox.MultiverseCore.utils.WorldManager.doLoad(WorldManager.java:486)
[00:33:27] [Craft Scheduler Thread - 56 - Plot-System/WARN]: 	at multiverse-core-4.3.14.jar//com.onarandombox.MultiverseCore.utils.WorldManager.doLoad(WorldManager.java:467)
[00:33:27] [Craft Scheduler Thread - 56 - Plot-System/WARN]: 	at multiverse-core-4.3.14.jar//com.onarandombox.MultiverseCore.utils.WorldManager.doLoad(WorldManager.java:442)
[00:33:27] [Craft Scheduler Thread - 56 - Plot-System/WARN]: 	at multiverse-core-4.3.14.jar//com.onarandombox.MultiverseCore.utils.WorldManager.loadWorld(WorldManager.java:423)
[00:33:27] [Craft Scheduler Thread - 56 - Plot-System/WARN]: 	at PlotSystem-4.1-SNAPSHOT.jar//com.alpsbte.plotsystem.core.system.plot.world.PlotWorld.loadWorld(PlotWorld.java:105)
[00:33:27] [Craft Scheduler Thread - 56 - Plot-System/WARN]: 	at PlotSystem-4.1-SNAPSHOT.jar//com.alpsbte.plotsystem.core.system.plot.generator.AbstractPlotGenerator.pasteSchematic(AbstractPlotGenerator.java:304)
[00:33:27] [Craft Scheduler Thread - 56 - Plot-System/WARN]: 	at PlotSystem-4.1-SNAPSHOT.jar//com.alpsbte.plotsystem.core.system.plot.utils.PlotUtils.savePlotAsSchematic(PlotUtils.java:259)
[00:33:27] [Craft Scheduler Thread - 56 - Plot-System/WARN]: 	at PlotSystem-4.1-SNAPSHOT.jar//com.alpsbte.plotsystem.core.menus.ReviewPlotMenu.lambda$setItemClickEventsAsync$6(ReviewPlotMenu.java:213)
[00:33:27] [Craft Scheduler Thread - 56 - Plot-System/WARN]: 	at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:78)
[00:33:27] [Craft Scheduler Thread - 56 - Plot-System/WARN]: 	at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
[00:33:27] [Craft Scheduler Thread - 56 - Plot-System/WARN]: 	at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[00:33:27] [Craft Scheduler Thread - 56 - Plot-System/WARN]: 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[00:33:27] [Craft Scheduler Thread - 56 - Plot-System/WARN]: 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[00:33:27] [Craft Scheduler Thread - 56 - Plot-System/WARN]: 	at java.base/java.lang.Thread.run(Thread.java:1583)
[00:33:27] [Craft Scheduler Thread - 56 - Plot-System/ERROR]: [Multiverse-Core] The world 'C-1' could NOT be loaded because it contains errors and is probably corrupt!
[00:33:27] [Craft Scheduler Thread - 56 - Plot-System/ERROR]: [Multiverse-Core] Try using Minecraft Region Fixer to repair your world! 'C-1'
[00:33:27] [Craft Scheduler Thread - 56 - Plot-System/ERROR]: [Multiverse-Core] https://github.com/Fenixin/Minecraft-Region-Fixer

What I tried:

  • Deleting C-1 / All Worlds
  • Using a Older Version of ps
  • Making the named code run sync -> then no error is in the console, but still no valid schematic
  • Copy the "finished" schematics manually & paste it with FAWE - there is just a selection of void mainly.
  • Select + save + paste normal Selection with FAWE - works correctly
@Zoriot Zoriot added the bug Something isn't working label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants