9
0
mirror of https://github.com/Xiao-MoMi/Custom-Crops.git synced 2025-12-28 19:39:20 +00:00

fix battlepass

This commit is contained in:
XiaoMoMi
2023-10-20 16:25:10 +08:00
parent 9e5764326e
commit e4d5c4a9c4
3 changed files with 3 additions and 2 deletions

View File

@@ -39,8 +39,8 @@ public class CropBreakEvent extends Event implements Cancellable {
public CropBreakEvent(
@Nullable Entity entity,
@NotNull String cropItemID,
@NotNull String cropKey,
@NotNull String cropItemID,
@NotNull Location location
) {
this.entity = entity;

View File

@@ -8,7 +8,7 @@ plugins {
allprojects {
project.group = "net.momirealms"
project.version = "3.3.1.7"
project.version = "3.3.1.8"
apply<JavaPlugin>()
apply(plugin = "java")

View File

@@ -188,6 +188,7 @@ public class IntegrationManager extends Function {
if (pluginManager.isPluginEnabled("BattlePass")) {
BattlePassCCQuest battlePassCCQuest = new BattlePassCCQuest();
Bukkit.getPluginManager().registerEvents(battlePassCCQuest, plugin);
BattlePassCCQuest.register();
hookMessage("BattlePass");
}
}