Closed FxRayHughes closed 5 years ago
Can you provide some background information, please?
I'm using PaperMC 1.14.4
when you break a block and CustomOreGen try to generate it randomly, it say in console:
[17:01:26 ERROR]: Could not pass event BlockFromToEvent to CustomOreGen v1.3.16-SNAPSHOT
java.lang.NullPointerException: null
at java.util.Objects.requireNonNull(Objects.java:203) ~[?:1.8.0_222]
at java.util.Optional.
Please if you need more info ask me and I will give it.
Which skyblock plugin (and version) are you using in your issue?
This plugin is not supported by COG, only this one: https://www.spigotmc.org/resources/island-world-skyblock-replacement.2757/
[08:18:06] [Server thread/ERROR]: Could not pass event BlockFromToEvent to CustomOreGen v1.3.16-SNAPSHOT org.bukkit.event.EventException: null at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:320) ~[spigot-1.14.4.jar:git-Spigot-1981d55-c88867e] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-1.14.4.jar:git-Spigot-1981d55-c88867e] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:529) ~[spigot-1.14.4.jar:git-Spigot-1981d55-c88867e] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:514) ~[spigot-1.14.4.jar:git-Spigot-1981d55-c88867e] at net.minecraft.server.v1_14_R1.FluidTypeFlowing.a(FluidTypeFlowing.java:187) ~[spigot-1.14.4.jar:git-Spigot-1981d55-c88867e] at net.minecraft.server.v1_14_R1.FluidTypeFlowing.a(FluidTypeFlowing.java:159) ~[spigot-1.14.4.jar:git-Spigot-1981d55-c88867e] at net.minecraft.server.v1_14_R1.FluidTypeFlowing.a(FluidTypeFlowing.java:493) ~[spigot-1.14.4.jar:git-Spigot-1981d55-c88867e] at net.minecraft.server.v1_14_R1.Fluid.a(SourceFile:70) ~[spigot-1.14.4.jar:git-Spigot-1981d55-c88867e] at net.minecraft.server.v1_14_R1.WorldServer.a(WorldServer.java:533) ~[spigot-1.14.4.jar:git-Spigot-1981d55-c88867e] at net.minecraft.server.v1_14_R1.TickListServer.b(TickListServer.java:82) [spigot-1.14.4.jar:git-Spigot-1981d55-c88867e] at net.minecraft.server.v1_14_R1.WorldServer.doTick(WorldServer.java:264) [spigot-1.14.4.jar:git-Spigot-1981d55-c88867e] at net.minecraft.server.v1_14_R1.MinecraftServer.b(MinecraftServer.java:1067) [spigot-1.14.4.jar:git-Spigot-1981d55-c88867e] at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:396) [spigot-1.14.4.jar:git-Spigot-1981d55-c88867e] at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:969) [spigot-1.14.4.jar:git-Spigot-1981d55-c88867e] at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:814) [spigot-1.14.4.jar:git-Spigot-1981d55-c88867e] at java.lang.Thread.run(Unknown Source) [?:1.8.0_101] Caused by: java.lang.NullPointerException at xyz.spaceio.hooks.HookuSkyBlock.getIslandOwner(HookuSkyBlock.java:28) ~[?:?] at xyz.spaceio.customoregen.CustomOreGen.getOwner(CustomOreGen.java:176) ~[?:?] at xyz.spaceio.customoregen.Events.onFromTo(Events.java:51) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_101] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_101] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:316) ~[spigot-1.14.4.jar:git-Spigot-1981d55-c88867e] ... 15 more