Pocket Games [1.8 - 1.21] | 34 Premium Minigames | Multiplayer & Single Player | icon

Pocket Games [1.8 - 1.21] | 34 Premium Minigames | Multiplayer & Single Player | -----

Flappy Bird, Super 2048, Snake & 30 more | Custom Games, Rewards, Messages, MySQL, and more!



[3.3.1] NPE fix.
Changelog:
  • NPE fix: The latest update changed quite a few things. I'd overlooked a simple player online check. This occurred if a player had played a Pocket Games game and left the server. The following player checking would then throw an error. This has now been fixed; sorry for the inconvenience!
    Code (Text):
    org.bukkit.command.CommandException: Unhandled exception executing command 'pg' in plugin PocketGames v3.3.0
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.12.2.jar:git-Spigot-7754231-94b0980]
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.12.2.jar:git-Spigot-7754231-94b0980]
            at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:651) ~[spigot-1.12.2.jar:git-Spigot-7754231-94b0980]
            at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1392) [spigot-1.12.2.jar:git-Spigot-7754231-94b0980]
            at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1227) [spigot-1.12.2.jar:git-Spigot-7754231-94b0980]
            at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-1.12.2.jar:git-Spigot-7754231-94b0980]
            at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-1.12.2.jar:git-Spigot-7754231-94b0980]
            at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.12.2.jar:git-Spigot-7754231-94b0980]
            at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_171]
            at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_171]
            at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [spigot-1.12.2.jar:git-Spigot-7754231-94b0980]
            at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:748) [spigot-1.12.2.jar:git-Spigot-7754231-94b0980]
            at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot-1.12.2.jar:git-Spigot-7754231-94b0980]
            at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot-1.12.2.jar:git-Spigot-7754231-94b0980]
            at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot-1.12.2.jar:git-Spigot-7754231-94b0980]
            at java.lang.Thread.run(Unknown Source) [?:1.8.0_171]
    Caused by: java.lang.NullPointerException
            at com.live.bemmamin.pocketgames.games.Game.playerIsPlaying(Game.java:487) ~[?:?]
            at com.live.bemmamin.pocketgames.MainGUI.menu(MainGUI.java:51) ~[?:?]
            at com.live.bemmamin.pocketgames.commands.pocketgamescmd.PlayAndHighscoreSub.onCommand(PlayAndHighscoreSub.java:44) ~[?:?]
            at com.live.bemmamin.pocketgames.commands.AbstractCommand.onCommand(AbstractCommand.java:47) ~[?:?]
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.12.2.jar:git-Spigot-7754231-94b0980]
            ... 15 more

    Reported by @Pangxie; Thanks!

[​IMG]
----------, Jul 11, 2018
Resource Information
Author:
----------
Total Downloads: 754
First Release: Oct 29, 2017
Last Update: Dec 17, 2024
Category: ---------------
All-Time Rating:
63 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings