-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Leaves Plugin #271
Leaves Plugin #271
Conversation
+ public ApiVersion deserialize(final Type type, final Object obj) throws SerializationException { | ||
+ try { | ||
+ final ApiVersion version = ApiVersion.getOrCreateVersion(obj.toString()); | ||
+ if (version.isOlderThan(MINIMUM)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里应该支持过旧不支持过新 类似于bukkit api-version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里是仿照Paper逻辑的。
为了防止你把1.13的插件也标上leaves plugin tag
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里是仿照Paper逻辑的。 为了防止你把1.13的插件也标上leaves plugin tag
那我们是否需要一个MAXIMUM version用来防止使用超版本的api
* Create devcontainer.json * feat: leaves plugins base * Show leaves plugins in /plugins * Fix LeavesPluginMeta * Delete .devcontainer directory
No description provided.