Update to 26.2
This commit is contained in:
@@ -1,18 +1,15 @@
|
||||
plugins {
|
||||
`maven-publish`
|
||||
id("io.github.goooler.shadow")
|
||||
id("com.gradleup.shadow")
|
||||
id("net.minecrell.plugin-yml.bukkit") version "0.5.1"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// API
|
||||
implementation(project(":boosters-api"))
|
||||
// Galaxy
|
||||
compileOnly("com.alttd.cosmos:cosmos-api:1.21.6-R0.1-SNAPSHOT") {
|
||||
isChanging = true
|
||||
}
|
||||
compileOnly("com.alttd.cosmos:cosmos-api:26.2.build.17-stable")
|
||||
// MyPet
|
||||
compileOnly("de.keyle:mypet:3.12-SNAPSHOT")
|
||||
compileOnly("de.keyle:mypet-api:4.0.0-SNAPSHOT")
|
||||
// mcMMO
|
||||
compileOnly("com.gmail.nossr50.mcMMO:mcMMO:2.2.004") {
|
||||
exclude("com.sk89q.worldguard")
|
||||
@@ -39,7 +36,8 @@ tasks {
|
||||
bukkit {
|
||||
name = rootProject.name
|
||||
main = "$group.BoostersPlugin"
|
||||
apiVersion = "1.21"
|
||||
version = "${rootProject.version}"
|
||||
apiVersion = "26.2"
|
||||
authors = listOf("destro174", "akastijn")
|
||||
softDepend = listOf("MyPet", "mcMMO")
|
||||
commands {
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.alttd.boosters.listeners;
|
||||
import com.alttd.boosterapi.data.Booster;
|
||||
import com.alttd.boosterapi.data.BoosterCache;
|
||||
import com.alttd.boosterapi.data.BoosterType;
|
||||
import de.Keyle.MyPet.api.event.MyPetExpEvent;
|
||||
import de.Keyle.MyPet.api.event.PetExpEvent;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.Listener;
|
||||
|
||||
@@ -18,7 +18,7 @@ public class MyPetListener implements Listener {
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void onMyPetExpEvent(MyPetExpEvent event) {
|
||||
public void onMyPetExpEvent(PetExpEvent event) {
|
||||
double exp = event.getPet().getExp();
|
||||
if (exp == 0) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user