Add Pladdon Class (#90)
* Add Pladdon Class Add Greenhouses Pladdon class. * Add Spigot Annotations API
This commit is contained in:
parent
06230e4957
commit
e2b779a9cb
6
pom.xml
6
pom.xml
|
@ -116,6 +116,12 @@
|
|||
<version>${spigot.version}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.spigotmc</groupId>
|
||||
<artifactId>plugin-annotations</artifactId>
|
||||
<version>1.2.3-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>world.bentobox</groupId>
|
||||
<artifactId>bentobox</artifactId>
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
package world.bentobox.greenhouses;
|
||||
|
||||
|
||||
import org.bukkit.plugin.java.annotation.dependency.Dependency;
|
||||
import org.bukkit.plugin.java.annotation.plugin.ApiVersion;
|
||||
import org.bukkit.plugin.java.annotation.plugin.Plugin;
|
||||
|
||||
import world.bentobox.bentobox.api.addons.Addon;
|
||||
import world.bentobox.bentobox.api.addons.Pladdon;
|
||||
|
||||
|
||||
/**
|
||||
* @author tastybento
|
||||
*/
|
||||
@Plugin(name = "Pladdon", version = "1.0")
|
||||
@ApiVersion(ApiVersion.Target.v1_18)
|
||||
@Dependency(value = "BentoBox")
|
||||
public class GreenhousesPladdon extends Pladdon
|
||||
{
|
||||
@Override
|
||||
public Addon getAddon()
|
||||
{
|
||||
return new Greenhouses();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue