WorldGuard-Hook error - WorldGuardPlatform is null.
See original GitHub issueStacktrace: (maybe something is wrong with WG?)
[20:40:04 ERROR]: Could not pass event PlayerJoinEvent to FunnyGuilds v4.10.2 Snowdrop-6f65021
java.lang.NullPointerException: null
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:770) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
at com.sk89q.worldguard.WorldGuard.getPlatform(WorldGuard.java:100) ~[?:?]
at net.dzikoysk.funnyguilds.feature.hooks.worldguard.WorldGuard7Hook.getRegionSet(WorldGuard7Hook.java:93) ~[?:?]
at net.dzikoysk.funnyguilds.feature.hooks.worldguard.WorldGuard7Hook.getRegionNames(WorldGuard7Hook.java:103) ~[?:?]
at net.dzikoysk.funnyguilds.user.placeholders.UserPlaceholdersService.lambda$getWorldGuardRegionNames$17(UserPlaceholdersService.java:73) ~[?:?]
at panda.std.Option.map(Option.java:137) ~[?:?]
at net.dzikoysk.funnyguilds.user.placeholders.UserPlaceholdersService.getWorldGuardRegionNames(UserPlaceholdersService.java:73) ~[?:?]
at net.dzikoysk.funnyguilds.user.placeholders.UserPlaceholdersService.lambda$createPlayerPlaceholders$12(UserPlaceholdersService.java:53) ~[?:?]
at net.dzikoysk.funnyguilds.user.placeholders.UserPlaceholders.lambda$playerProperty$1(UserPlaceholders.java:19) ~[?:?]
at net.dzikoysk.funnyguilds.feature.placeholders.placeholder.Placeholder.getRaw(Placeholder.java:15) ~[?:?]
at net.dzikoysk.funnyguilds.feature.placeholders.placeholder.Placeholder.get(Placeholder.java:19) ~[?:?]
at net.dzikoysk.funnyguilds.feature.placeholders.Placeholders.lambda$toCustomFormatter$7(Placeholders.java:123) ~[?:?]
at java.util.concurrent.ConcurrentHashMap.forEach(ConcurrentHashMap.java:1603) ~[?:?]
at net.dzikoysk.funnyguilds.feature.placeholders.Placeholders.toCustomFormatter(Placeholders.java:123) ~[?:?]
at net.dzikoysk.funnyguilds.feature.placeholders.Placeholders.toVariablesFormatter(Placeholders.java:104) ~[?:?]
at net.dzikoysk.funnyguilds.feature.placeholders.Placeholders.formatVariables(Placeholders.java:100) ~[?:?]
at net.dzikoysk.funnyguilds.feature.placeholders.AbstractPlaceholdersService.format(AbstractPlaceholdersService.java:67) ~[?:?]
at net.dzikoysk.funnyguilds.feature.tablist.TablistPlaceholdersService.format(TablistPlaceholdersService.java:35) ~[?:?]
at net.dzikoysk.funnyguilds.feature.tablist.IndividualPlayerList.putVars(IndividualPlayerList.java:156) ~[?:?]
at net.dzikoysk.funnyguilds.feature.tablist.IndividualPlayerList.putVarsPrepareCells(IndividualPlayerList.java:139) ~[?:?]
at net.dzikoysk.funnyguilds.feature.tablist.IndividualPlayerList.send(IndividualPlayerList.java:100) ~[?:?]
at net.dzikoysk.funnyguilds.listener.PlayerJoin.onJoin(PlayerJoin.java:51) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor26.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:624) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
at net.minecraft.server.v1_16_R3.PlayerList.postChunkLoadJoin(PlayerList.java:357) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
at net.minecraft.server.v1_16_R3.PlayerList.lambda$null$1(PlayerList.java:304) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
at net.minecraft.server.v1_16_R3.PlayerConnection.tick(PlayerConnection.java:316) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
at net.minecraft.server.v1_16_R3.NetworkManager.a(NetworkManager.java:592) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
at net.minecraft.server.v1_16_R3.ServerConnection.c(ServerConnection.java:173) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1582) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:437) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1402) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1134) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:292) ~[patched_1.16.5.jar:git-Tuinity-"9f3435b"]
at java.lang.Thread.run(Thread.java:831) [?:?]
Issue Analytics
- State:
- Created a year ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
com.sk89q.worldguard.protection.managers.RegionManager ...
getWorld() == null) return Collections.emptyList(); WorldGuardPlatform platform = WorldGuard.getInstance().getPlatform(); RegionManager manager = platform.
Read more >Solved - Worldguard Error! Please help! | SpigotMC - SpigotMC
At first: At the worldguarded spawn of my server I attempt to do /slay. Then, it shows me this [IMG] It told me...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Error solved, widocznie samo sie naprawiło, bo wstawiłem tą samą wersje (z tym samym kodem), tylko inny build. Java jest super. ❤️