zingzing175/NGECore2 — pull request #6 by zingzing175 (2014-09-01 19:10:03+00:00)
Title: Fixed cooldown issue potentially blocking commands

Any object that inherits TangibleObject and has commands utilized on it will need to make sure their initAfterDBLoad() calls super.initAfterDBLoad().

Fixes:

java.lang.NullPointerException
at resources.objects.tangible.TangibleObject.hasCooldown(TangibleObject.java:626)
at services.command.CommandService.callCommand(CommandService.java:95)
at services.command.CommandService$1.handlePacket(CommandService.java:1011)
at engine.resources.service.NetworkDispatch$1.run(NetworkDispatch.java:202)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)