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:
@@ -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;
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user