Skip to content

Commit ce935f2

Browse files
committed
fix: renaming getPlayerList0 -> getPlayerList
1 parent 7a50693 commit ce935f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/anatawa12/pluginPermsForNgt/coreMod/ClassTransformer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ private byte[] transformNGTPermissionManagerBukkit(byte[] basicClass) {
7575
// remove final flag
7676
node.access = node.access & ~Opcodes.ACC_FINAL;
7777
for (MethodNode method : node.methods) {
78-
if ("getPlayerList0".equals(method.name) && "()Ljava/util/Collection;".equals(method.desc)) {
78+
if ("getPlayerList0".equals(method.name) && "(Ljava/lang/String;)Ljava/util/Collection;".equals(method.desc)) {
7979
method.name = "getPlayerList";
8080
}
8181
}

0 commit comments

Comments
 (0)