Fix `IntRule#validate` mapping (#3711)

This commit is contained in:
apple502j 2023-10-31 00:32:40 +09:00 committed by GitHub
parent 4166cdcc06
commit 656c68c49c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -151,8 +151,10 @@ CLASS net/minecraft/class_1928 net/minecraft/world/GameRules
ARG 0 initialValue
METHOD method_20769 parseInt (Ljava/lang/String;)I
ARG 0 input
METHOD method_27332 validate (Ljava/lang/String;)Z
COMMENT Validates that an input is valid for this rule.
METHOD method_27332 validateAndSet (Ljava/lang/String;)Z
COMMENT Validates that an input is valid for this rule, and sets the rule's value if successful.
COMMENT
COMMENT @return whether the input is valid
ARG 1 input
METHOD method_35236 set (ILnet/minecraft/server/MinecraftServer;)V
ARG 1 value