@@ -31,7 +31,7 @@ public class Items implements CommandExecutor {
|
|||||||
|
|
||||||
CommandExecutor handler;
|
CommandExecutor handler;
|
||||||
switch (args[0]) {
|
switch (args[0]) {
|
||||||
case "witherite" -> handler = new Witherite();
|
case "witherite" -> handler = new WitheriteGear();
|
||||||
case "lightning" -> handler = new LightningSword();
|
case "lightning" -> handler = new LightningSword();
|
||||||
case "steven" -> handler = new StevensWrath();
|
case "steven" -> handler = new StevensWrath();
|
||||||
case "blazing" -> handler = new BlazingGear();
|
case "blazing" -> handler = new BlazingGear();
|
||||||
@@ -47,7 +47,7 @@ public class Items implements CommandExecutor {
|
|||||||
|
|
||||||
public Items(JavaPlugin plugin) {
|
public Items(JavaPlugin plugin) {
|
||||||
|
|
||||||
Witherite witherite = new Witherite();
|
WitheriteGear witherite = new WitheriteGear();
|
||||||
witherite.registerRecipes();
|
witherite.registerRecipes();
|
||||||
witherite.registerEvents(plugin);
|
witherite.registerEvents(plugin);
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -21,7 +21,7 @@ import java.util.Objects;
|
|||||||
|
|
||||||
import static org.bukkit.Bukkit.getServer;
|
import static org.bukkit.Bukkit.getServer;
|
||||||
|
|
||||||
public class Witherite extends GenericGearSet implements Listener, CommandExecutor {
|
public class WitheriteGear extends GenericGearSet implements Listener, CommandExecutor {
|
||||||
private ArrayList<Player> cooldown = new ArrayList<>();
|
private ArrayList<Player> cooldown = new ArrayList<>();
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -141,7 +141,7 @@ public class Witherite extends GenericGearSet implements Listener, CommandExecut
|
|||||||
|
|
||||||
public static void init() {}
|
public static void init() {}
|
||||||
|
|
||||||
public Witherite() {
|
public WitheriteGear() {
|
||||||
this.setTier5();
|
this.setTier5();
|
||||||
this.sword.name = "Witherite Sword";
|
this.sword.name = "Witherite Sword";
|
||||||
this.sword.customItemModel = "witherite_sword";
|
this.sword.customItemModel = "witherite_sword";
|
||||||
Reference in New Issue
Block a user