SakuraServerDevTeam / FlagGame

Caputure the flag PvP minigame on Bukkit-API
http://sakura-server.net/
GNU General Public License v3.0
0 stars 0 forks source link

NPE on Nexus-break #65

Closed 4oi closed 7 years ago

4oi commented 7 years ago
Could not pass event BlockBreakEvent to FlagGame v2.2.8-alpha1
org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-b605b31-f4822eb]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-b605b31-f4822eb]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-b605b31-f4822eb]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-b605b31-f4822eb]
        at net.minecraft.server.v1_11_R1.PlayerInteractManager.breakBlock(PlayerInteractManager.java:291) [spigot.jar:git-Spigot-b605b31-f4822eb]
        at net.minecraft.server.v1_11_R1.PlayerInteractManager.a(PlayerInteractManager.java:218) [spigot.jar:git-Spigot-b605b31-f4822eb]
        at net.minecraft.server.v1_11_R1.PlayerConnection.a(PlayerConnection.java:850) [spigot.jar:git-Spigot-b605b31-f4822eb]
        at net.minecraft.server.v1_11_R1.PacketPlayInBlockDig.a(SourceFile:40) [spigot.jar:git-Spigot-b605b31-f4822eb]
        at net.minecraft.server.v1_11_R1.PacketPlayInBlockDig.a(SourceFile:10) [spigot.jar:git-Spigot-b605b31-f4822eb]
        at net.minecraft.server.v1_11_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-b605b31-f4822eb]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_121]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_121]
        at net.minecraft.server.v1_11_R1.SystemUtils.a(SourceFile:46) [spigot.jar:git-Spigot-b605b31-f4822eb]
        at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:747) [spigot.jar:git-Spigot-b605b31-f4822eb]
        at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot.jar:git-Spigot-b605b31-f4822eb]
        at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:678) [spigot.jar:git-Spigot-b605b31-f4822eb]
        at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:576) [spigot.jar:git-Spigot-b605b31-f4822eb]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
Caused by: java.lang.NullPointerException
        at syam.flaggame.player.GamePlayer.playSound(GamePlayer.java:276) ~[?:?]
        at jp.llv.flaggame.game.basic.BGBlockListener.breakNexus(BGBlockListener.java:240) ~[?:?]
        at jp.llv.flaggame.game.basic.BGBlockListener.lambda$onBlockBreak$1(BGBlockListener.java:77) ~[?:?]
        at java.util.Optional.ifPresent(Optional.java:159) ~[?:1.8.0_121]
        at jp.llv.flaggame.game.basic.BGBlockListener.onBlockBreak(BGBlockListener.java:77) ~[?:?]
        at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-Spigot-b605b31-f4822eb]
        ... 17 more