Skip to content

Commit

Permalink
Return true always on internal hasLinesMaxLength
Browse files Browse the repository at this point in the history
  • Loading branch information
xism4 committed Oct 15, 2023
1 parent 609fe9c commit f320191
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/src/main/java/com/xism4/sternalboard/SternalBoard.java
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,6 @@ protected String emptyLine() {
* @return max length
*/
protected boolean hasLinesMaxLength() {
return !VersionType.V1_13.isHigherOrEqual();
return true;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/*
* This file is part of SternalBoard, licensed under the MIT License.
*
* Copyright (c) 2019-2022 Ismael Hanbel
* Copyright (c) 2019-2023 Ismael Hanbel
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -44,7 +44,7 @@
* The plugin can be found on <a href="https://github.com/xIsm4/SternalBoard">GitHub</a>.
*
* @author xIsm4
* @version 2.0.3
* @version 2.2.5
*/

import org.bukkit.ChatColor;
Expand Down Expand Up @@ -611,7 +611,7 @@ public enum ScoreboardAction {
CHANGE, REMOVE
}

enum VersionType {
public enum VersionType {
V1_7, V1_8, V1_13, V1_17;

public boolean isHigherOrEqual() {
Expand Down

0 comments on commit f320191

Please sign in to comment.