-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert to plugin so that legacy Materials are not used
- Loading branch information
1 parent
2bc3b2c
commit eda4f67
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
src/main/java/com/wasteofplastic/invswitcher/InvSwitcherPladdon.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package com.wasteofplastic.invswitcher; | ||
|
||
|
||
import world.bentobox.bentobox.api.addons.Addon; | ||
import world.bentobox.bentobox.api.addons.GameModeAddon; | ||
import world.bentobox.bentobox.api.addons.Pladdon; | ||
|
||
public class InvSwitcherPladdon extends Pladdon { | ||
|
||
private Addon addon; | ||
|
||
@Override | ||
public Addon getAddon() { | ||
if (addon == null) { | ||
addon = new InvSwitcher(); | ||
} | ||
return addon; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name: BentoBox-InvSwitcher | ||
main: com.wasteofplastic.invswitcher.InvSwitcherPladdon | ||
version: ${project.version}${build.number} | ||
api-version: "1.21" | ||
|
||
authors: [tastybento] | ||
contributors: ["The BentoBoxWorld Community"] | ||
website: https://bentobox.world | ||
description: ${project.description} |