Skip to content

Commit

Permalink
Add Pladdon Class (#90)
Browse files Browse the repository at this point in the history
* Add Pladdon Class

Add Greenhouses Pladdon class.

* Add Spigot Annotations API
  • Loading branch information
BONNe committed Feb 19, 2022
1 parent 06230e4 commit e2b779a
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
25 changes: 25 additions & 0 deletions src/main/java/world/bentobox/greenhouses/GreenhousesPladdon.java
Original file line number Diff line number Diff line change
@@ -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();
}
}

0 comments on commit e2b779a

Please sign in to comment.