Skip to content

Commit

Permalink
Update for 1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanWolf committed Apr 4, 2021
1 parent 0cb626b commit 434e186
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# 2.0

- 1.14 and 1.13 compatibility
- 1.16, 1.15, 1.14 1.13 compatibility

# 1.8

Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.elmakers.mine.bukkit</groupId>
<artifactId>HeroesHotbar</artifactId>
<version>1.9-SNAPSHOT</version>
<version>2.0-SNAPSHOT</version>

<name>Heroes Hotbar</name>
<description>A hotbar GUI add-on to the Heroes Bukkit plugin</description>
Expand Down Expand Up @@ -86,7 +86,7 @@
<dependency>
<groupId>com.elmakers.mine.bukkit</groupId>
<artifactId>CompatibilityLib</artifactId>
<version>1.9-1.14-SNAPSHOT</version>
<version>1.9-1.16-4-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down Expand Up @@ -114,7 +114,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>1.5</version>
<version>3.0.0</version>
<executions>
<execution>
<phase>package</phase>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ private void updateHotbar(Player player) {
String currentURL = InventoryUtils.getSkullURL(skillItem);
if (!canUse) {
if (!disabledUrlIcon.equals(currentURL)) {
InventoryUtils.setNewSkullURL(skillItem, disabledUrlIcon);
InventoryUtils.setSkullURL(skillItem, disabledUrlIcon);
player.getInventory().setItem(i, skillItem);
}
if (targetAmount == 99) {
Expand All @@ -121,7 +121,7 @@ private void updateHotbar(Player player) {
}
} else {
if (!urlIcon.equals(currentURL)) {
InventoryUtils.setNewSkullURL(skillItem, urlIcon);
InventoryUtils.setSkullURL(skillItem, urlIcon);
player.getInventory().setItem(i, skillItem);
}
}
Expand Down

0 comments on commit 434e186

Please sign in to comment.