gecolay / GSit

GPlugin - GSit - Relax with other players on nice seats!
https://www.spigotmc.org/resources/gsit.62325/
GNU General Public License v3.0
120 stars 49 forks source link

Due to an error you can't pose here! #134

Closed IAISI closed 10 months ago

IAISI commented 10 months ago

When this event is cancelled via API:

https://github.com/Gecolay/GSit/blob/bbfdb9720f60d379c921ae111e4a6d10dc5c6fb6/core/src/main/java/dev/geco/gsit/manager/PoseManager.java#L79C28-L79C36

Player would see an error: Due to an error you can't pose here!

This is probably a mistake?

gecolay commented 10 months ago

In the current implementation, there is no way to include another error message since all "failed" responses from the createPose method return null.

IAISI commented 10 months ago

Is there a way for another plugins to cancel poses without message?