Skip to content

Commit

Permalink
Added earring and wing slot types
Browse files Browse the repository at this point in the history
Bumped API version to 2.1.0
  • Loading branch information
jss2a98aj committed Feb 26, 2023
1 parent 49e0100 commit 26d6cbe
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/main/java/baubles/api/expanded/BaubleExpandedSlots.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ public class BaubleExpandedSlots {
public static final String shieldType = "shield";
public static final String quiverType = "quiver";
public static final String gauntletType = "gauntlet";
public static final String earringType = "earring";
public static final String wingsType = "wings";

/**
* Registers a type and returns true if the type could be or has been registered.
Expand Down Expand Up @@ -342,6 +344,8 @@ public static void overrideSlots(String[] overrideSlots) {
registeredTypes.add(shieldType);
registeredTypes.add(quiverType);
registeredTypes.add(gauntletType);
registeredTypes.add(earringType);
registeredTypes.add(wingsType);

assignedSlots[0] = amuletType;
assignedSlots[1] = ringType;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/baubles/api/package-info.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@API(owner = "Baubles", apiVersion = "2.0.3", provides = "Baubles|API")
@API(owner = "Baubles", apiVersion = "2.1.0", provides = "Baubles|API")
package baubles.api;

import cpw.mods.fml.common.API;
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 26d6cbe

Please sign in to comment.