Game Stages

Game Stages

41M Downloads

[Question] In 2.0, GameStageHelper.hasStage/etc On Client Always Returns False

legendblade opened this issue ยท 2 comments

commented

In testing, I've noticed that, when run on the client side, calling GameStageHelper.hasStage (and similar methods, without directly passing in an IStageData) will always return false - I assume this is because there are the client side specific methods, but I wanted to check if this was actually intended or not. This ultimately seems to be an issue that the local IStageData retrieved from GameStageSaveHandler, unless specifically accessed through GameStageSaveHandler.clientData, has no stages.

I've found this issue both:

This has been observed specifically with:

  • Forge 14.23.4.2703
  • GameStages 2.0.91

Sorry for the trouble; just wanted to double check. Thanks!

commented

Got it. Thanks for the quick reply. ๐Ÿ‘

commented

Yes, this is the intended behavior. Those methods are server-side only. IIRC I didn't mark them with that annotation because it would also remove it from the integrated server.