Skip to content

Commit

Permalink
Fixed CycleGUIButton
Browse files Browse the repository at this point in the history
Updated Version
  • Loading branch information
Placeblock committed Sep 10, 2023
1 parent d621ee0 commit 0266718
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

group = "de.codelix"
version = "1.3.6a"
version = "1.3.6b"

var isReleaseVersion = !version.toString().endsWith("SNAPSHOT")
var artifactID = "BetterInventories"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public abstract class CycleGUIButton<E extends CycleEnum> extends GUIButton {
* @param gui The GUI
* @param values The Enum values
*/
@SuppressWarnings("unused")
public CycleGUIButton(GUI gui, E[] values) {
this(gui, values, values[0]);
}
Expand Down Expand Up @@ -71,5 +72,5 @@ public void onClick(ClickData data) {
* @param data The ClickData
* @param newValue The new Enum-value
*/
abstract void onCycle(ClickData data, E newValue);
protected abstract void onCycle(ClickData data, E newValue);
}

0 comments on commit 0266718

Please sign in to comment.