Skip to content

Commit

Permalink
Fix server version for the tntJump rule
Browse files Browse the repository at this point in the history
  • Loading branch information
syldium committed Dec 9, 2024
1 parent cc0420c commit a03391b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ public TntJump()

@Override
protected void sendMessage(boolean newValue) {
if (!Version.VersionType.V1_13.isHigherOrEqual()) {
throw new FkLightException(Messages.CMD_ERROR_VERSION_TOO_OLD.getMessage().replace("%version%", Version.VersionType.V1_13.toString()));
if (!Version.VersionType.V1_17.isHigherOrEqual()) {
throw new FkLightException(Messages.CMD_ERROR_VERSION_TOO_OLD.getMessage().replace("%version%", Version.VersionType.V1_17.toString()));
}
broadcastPossibleImpossible(newValue, Messages.CMD_RULES_TNT_JUMP);
}
Expand Down

0 comments on commit a03391b

Please sign in to comment.