HttpRafa / creeper-recover

Recovers all destroyed blocks by Creeper or other Entities
MIT License
6 stars 0 forks source link

1.20.4 server #25

Open 123yuyu123 opened 3 weeks ago

123yuyu123 commented 3 weeks ago

hey plugin work fine and all that but idk why im getting this error in my console :

[Sat 19:56:59 WARN  CreeperRecover] Plugin CreeperRecover v1.0.12 generated an exception while executing task 64
java.lang.IllegalStateException: Not a JSON Object: null
    at com.google.gson.JsonElement.getAsJsonObject(JsonElement.java:101)
    at CreeperRecover-1.0.12-all.jar//de.rafael.plugins.creeper.recover.utils.config.JsonConfiguration.loadConfig(JsonConfiguration.java:105)
    at CreeperRecover-1.0.12-all.jar//de.rafael.plugins.creeper.recover.stats.PluginStats.save(PluginStats.java:88)
    at CreeperRecover-1.0.12-all.jar//de.rafael.plugins.creeper.recover.stats.PluginStats.tick(PluginStats.java:116)
    at CreeperRecover-1.0.12-all.jar//de.rafael.plugins.creeper.recover.CreeperRecover.lambda$onEnable$3(CreeperRecover.java:142)
    at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftTask.run(CraftTask.java:101)
    at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
    at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.lang.Thread.run(Thread.java:833)
HttpRafa commented 3 weeks ago

The error occurs when something is wrong in the config file. Check whether you have a comma where one should be and so on.