Skip to content

Commit bcff47c

Browse files
authored
Merge pull request #936 from Ghost-chu/hikari
patch the import
2 parents 12e0366 + 9caeba3 commit bcff47c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

platform/quickshop-platform-spigot-v1_20_R1/src/main/java/com/ghostchu/quickshop/platform/spigot/v1_20_1/Spigot1201Platform.java renamed to platform/quickshop-platform-spigot-v1_20_R1/src/main/java/com/ghostchu/quickshop/platform/spigot/v1_20_1/Spigot1200Platform.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
import java.util.Map;
2727
import java.util.Optional;
2828

29-
public class Spigot1201Platform extends AbstractSpigotPlatform implements Platform {
29+
public class Spigot1200Platform extends AbstractSpigotPlatform implements Platform {
3030

31-
public Spigot1201Platform(@NotNull Plugin plugin) {
31+
public Spigot1200Platform(@NotNull Plugin plugin) {
3232
super(plugin);
3333
}
3434

quickshop-bukkit/src/main/java/com/ghostchu/quickshop/QuickShopBukkit.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import com.ghostchu.quickshop.platform.spigot.v1_19_1.Spigot1191Platform;
1010
import com.ghostchu.quickshop.platform.spigot.v1_19_2.Spigot1193Platform;
1111
import com.ghostchu.quickshop.platform.spigot.v1_19_3.Spigot1194Platform;
12+
import com.ghostchu.quickshop.platform.spigot.v1_20_1.Spigot1200Platform;
1213
import com.ghostchu.quickshop.util.PackageUtil;
1314
import com.vdurmont.semver4j.Semver;
1415
import io.papermc.lib.PaperLib;
@@ -113,7 +114,7 @@ private void loadPlatform() {
113114
case "v1_19_R1" -> new Spigot1191Platform(this);
114115
case "v1_19_R2" -> new Spigot1193Platform(this);
115116
case "v1_19_R3" -> new Spigot1194Platform(this);
116-
case "v1_20_R1" -> new Spigot1220Platform(this);
117+
case "v1_20_R1" -> new Spigot1200Platform(this);
117118
default -> {
118119
getLogger().warning("This server running " + AbstractSpigotPlatform.getNMSVersion() + " not supported by Hikari. (Try update? or Use Paper's fork to get cross-platform compatibility.)");
119120
Bukkit.getPluginManager().disablePlugin(this);

0 commit comments

Comments
 (0)