Line 41 in Human.java is causing this error only seconds after the game is started. I'm assuming it crashes as soon as you try to grab something and nothing is there. Not sure what changed to make this crash the game.
Exception in thread "Thread-2" java.lang.NullPointerException
at cockfight.gameworld.Human.grabTest(Human.java:41)
at cockfight.gameworld.Human.update(Human.java:118)
at cockfight.gameworld.Game.updateWorld(Game.java:85)
at cockfight.net.server.Server.run(Server.java:74)
Line 41 in Human.java is causing this error only seconds after the game is started. I'm assuming it crashes as soon as you try to grab something and nothing is there. Not sure what changed to make this crash the game.
Exception in thread "Thread-2" java.lang. NullPointerExce ption gameworld. Human.grabTest( Human.java: 41) gameworld. Human.update( Human.java: 118) gameworld. Game.updateWorl d(Game. java:85) net.server. Server. run(Server. java:74)
at cockfight.
at cockfight.
at cockfight.
at cockfight.