diff --git a/pom.xml b/pom.xml index a04743d..3adeaa5 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,20 @@ UTF-8 + + + spigot-repo + https://hub.spigotmc.org/nexus/content/repositories/snapshots/ + + + + + org.spigotmc + spigot-api + 1.8.8-R0.1-SNAPSHOT + provided + org.projectlombok lombok diff --git a/src/main/java/lol/vera/spigot/ApiImplementation.java b/src/main/java/lol/vera/spigot/ApiImplementation.java index eba2807..7508757 100644 --- a/src/main/java/lol/vera/spigot/ApiImplementation.java +++ b/src/main/java/lol/vera/spigot/ApiImplementation.java @@ -1,6 +1,7 @@ package lol.vera.spigot; import lol.vera.spigot.knockback.KnockbackProfile; +import org.bukkit.entity.Player; public interface ApiImplementation { @@ -10,6 +11,8 @@ public interface ApiImplementation { void setActiveKnockbackProfile(KnockbackProfile knockbackProfile); + void setActiveKnockbackProfile(Player player, KnockbackProfile knockbackProfile); + class DEFAULT implements ApiImplementation { @Override @@ -27,6 +30,11 @@ public interface ApiImplementation { } + @Override + public void setActiveKnockbackProfile(Player player, KnockbackProfile knockbackProfile) { + + } + } } \ No newline at end of file