Skip to content

Maybe #39 but for <=1.12 #41

Description

@emilyy-dev

do you maybe wanna make an issue for this so you don't forget to do the todo

Originally posted by @rymiel in #40 (comment)

final Class<?> sessionManagerClass = Class.forName("com.sk89q.worldguard.session.SessionManager");
if (sessionManagerClass.isInterface()) { // 7.x
resetStateMh = lookup.findStatic(WorldGuardFacade.class, "resetState0", MethodType.methodType(void.class, Player.class));
} // TODO: <=1.12

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesIssue or pull request involving a dependencyenhancementNew feature or requestpriority: lowNot very important

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions