File tree Expand file tree Collapse file tree
ScalaLoader-Common/src/main/java/xyz/janboerman/scalaloader/plugin/description Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,28 +39,20 @@ public enum ApiVersion {
3939 v1_20 ("1.20" ),
4040 /** Signals that the ScalaPlugin was created to be compatible with Bukkit 1.21 */
4141 v1_21 ("1.21" ),
42- /** Signals that the ScalaPlugin was created to be compatible with Bukkit 1.22 */
43- v1_22 ("1.22" ),
44- /** Signals that the ScalaPlugin was created to be compatible with Bukkit 1.23 */
45- v1_23 ("1.23" ),
46- /** Signals that the ScalaPlugin was created to be compatible with Bukkit 1.24 */
47- v1_24 ("1.24" ),
48- /** Signals that the ScalaPlugin was created to be compatible with Bukkit 1.25 */
49- v1_25 ("1.25" );
42+ /** Signals that the ScalaPlugin was created to be compatible with Bukkit 26.1 */
43+ v26_1 ("26.1" ),
44+ /** Signals that the ScalaPlugin was created to be compatible with Bukkit 26.2 */
45+ v26_2 ("26.2" );
5046
5147 private static final Map <String , ApiVersion > BY_VERSION = new HashMap <>();
5248 private static final ApiVersion LATEST_VERSION ;
5349 static {
5450 ApiVersion runningOn ;
5551 String bukkitVersion = Bukkit .getBukkitVersion ();
56- if (bukkitVersion .startsWith ("1.25" )) {
57- runningOn = v1_25 ;
58- } else if (bukkitVersion .startsWith ("1.24" )) {
59- runningOn = v1_24 ;
60- } else if (bukkitVersion .startsWith ("1.23" )) {
61- runningOn = v1_23 ;
62- } else if (bukkitVersion .startsWith ("1.22" )) {
63- runningOn = v1_22 ;
52+ if (bukkitVersion .startsWith ("26.2" )) {
53+ runningOn = v26_2 ;
54+ } else if (bukkitVersion .startsWith ("26.1" )) {
55+ runningOn = v26_1 ;
6456 } else if (bukkitVersion .startsWith ("1.21" )) {
6557 runningOn = v1_21 ;
6658 } else if (bukkitVersion .startsWith ("1.20" )) {
You can’t perform that action at this time.
0 commit comments