Skip to content

Commit

Permalink
Merge pull request Sefiraat#219 from JustAHuman-xD/chore/prevent-stor…
Browse files Browse the repository at this point in the history
…ages-in-storages

[Chore] Prevent Quantum Storages in Quantum Storages
  • Loading branch information
Sefiraat authored Oct 19, 2024
2 parents afd71ce + 4db3185 commit 8bffd08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
<dependency>
<groupId>com.github.Slimefun</groupId>
<artifactId>Slimefun4</artifactId>
<version>f1363ceadf</version>
<version>0a7fea8</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,8 @@ public static void tryInputItem(Location location, ItemStack[] input, QuantumCac
private static boolean isBlacklisted(@Nonnull ItemStack itemStack) {
return itemStack.getType() == Material.AIR
|| itemStack.getType().getMaxDurability() < 0
|| Tag.SHULKER_BOXES.isTagged(itemStack.getType());
|| Tag.SHULKER_BOXES.isTagged(itemStack.getType())
|| SlimefunItem.getByItem(itemStack) instanceof NetworkQuantumStorage;
}

@ParametersAreNonnullByDefault
Expand Down

0 comments on commit 8bffd08

Please sign in to comment.