Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix teleport command #399

Open
wants to merge 1 commit into
base: kotlin-experiments
Choose a base branch
from

Conversation

stevesoltys
Copy link
Contributor

Teleport command was throwing this exception when a location is specified rather than coordinates:

SEVERE: Exception occurred during pulse!
java.lang.NoSuchMethodError: Teleport_cmd_plugin.access$getTELEPORT_DESTINATIONS$p(LTeleport_cmd_plugin;)Ljava/util/List;
	at Teleport_cmd_plugin$2.invoke(teleport-cmd.plugin.kts:29)
	at Teleport_cmd_plugin$2.invoke(teleport-cmd.plugin.kts:7)
	at org.apollo.game.plugin.kotlin.KotlinPlayerHandlerProxyTrait$DefaultImpls.handleProxy(KotlinPluginScript.kt:93)
	at org.apollo.game.plugin.kotlin.KotlinCommandHandler.handleProxy(KotlinPluginScript.kt:158)
	at org.apollo.game.plugin.kotlin.KotlinCommandHandler.handleProxy(KotlinPluginScript.kt:158)
	at org.apollo.game.plugin.kotlin.KotlinCommandHandler.execute(KotlinPluginScript.kt:164)
	at org.apollo.game.command.CommandListener.executePrivileged(CommandListener.java:51)
	at org.apollo.game.command.CommandDispatcher.dispatch(CommandDispatcher.java:39)
	at org.apollo.game.message.handler.CommandMessageHandler.handle(CommandMessageHandler.java:34)
	at org.apollo.game.message.handler.CommandMessageHandler.handle(CommandMessageHandler.java:14)
	at org.apollo.game.message.handler.MessageHandlerChain.notify(MessageHandlerChain.java:57)
	at org.apollo.game.message.handler.MessageHandlerChainSet.notify(MessageHandlerChainSet.java:45)
	at org.apollo.game.session.GameSession.handlePendingMessages(GameSession.java:96)
	at org.apollo.game.service.GameService.pulse(GameService.java:162)
	at org.apollo.game.GamePulseHandler.run(GamePulseHandler.java:37)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

@rmcmk
Copy link
Contributor

rmcmk commented Jul 22, 2018

LGTM

@garyttierney
Copy link
Contributor

cc @Major-, same codegen bug?

@garyttierney garyttierney self-requested a review July 23, 2018 17:02
@Major-
Copy link
Member

Major- commented Jul 23, 2018

@garyttierney yeah

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants