Skip to content

Commit

Permalink
Fixed build, improved speed and cleaned up fix
Browse files Browse the repository at this point in the history
  • Loading branch information
WalshyDev committed Dec 31, 2023
1 parent 6290f6f commit d036525
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@
</build>

<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
<repository>
<id>paper-repo</id>
<url>https://repo.papermc.io/repository/maven-public/</url>
Expand All @@ -87,10 +91,6 @@
<id>sonatype</id>
<url>https://oss.sonatype.org/content/groups/public/</url>
</repository>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
<repository>
<id>bstats-repo</id>
<url>https://repo.codemc.org/repository/maven-public</url>
Expand All @@ -106,7 +106,7 @@
</dependency>

<dependency>
<groupId>com.github.thebusybiscuit</groupId>
<groupId>com.github.Slimefun</groupId>
<artifactId>Slimefun4</artifactId>
<version>1aeb0e8</version>
<scope>provided</scope>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,7 @@ public int getGroupTotal(@Nonnull String itemId) {
if (group.contains(itemId)) {
int amount = 0;
for (String item : group.getItems()) {
Integer placedAmount = this.contentMap.get(item);
if (placedAmount == null) {
continue;
}

amount += placedAmount;
amount += getCurrentAmount(item);
}
return amount;
}
Expand Down

0 comments on commit d036525

Please sign in to comment.