Skip to content

Commit

Permalink
Fix getString method
Browse files Browse the repository at this point in the history
  • Loading branch information
virustotalop committed Sep 9, 2024
1 parent a096932 commit ba61a06
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public final class BukkitDataComponentUtil {
private static final Method TO_PRETTY_COMPONENT = ReflectionUtil
.getStaticMethod(NBT_UTILS, COMPONENT, TAG);
private static final Method COMPONENT_GET_STRING = ReflectionUtil
.getMethod(COMPONENT, "getString");
.getMethod(COMPONENT, 0, "getString");
private static final Method TAG_PARSER_READ_VALUE = ReflectionUtil
.getMethod(TAG_PARSER, "readValue");

Expand Down

0 comments on commit ba61a06

Please sign in to comment.