Skip to content

Commit

Permalink
fixed NBT storages
Browse files Browse the repository at this point in the history
  • Loading branch information
osos2000-ui committed Dec 21, 2024
1 parent 39890b8 commit aaeaaa9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<groupId>org.zeroBzeroT</groupId>
<artifactId>AntiIllegals</artifactId>
<version>1.1.3</version>
<version>1.1.4</version>
<packaging>jar</packaging>
<name>${project.artifactId}</name>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ private static boolean revertIllegalNBTData(@NotNull final ItemStack itemStack)
| revertIllegalDurability(itemStack)
| revertUnbreakableTag(itemStack)
| revertOverstackedItem(itemStack)
| revertnbtFurnaces(itemStack)
| revertNBTContainer(itemStack)
| removeConflictingEnchantments(itemStack)
| removeAttributes(itemStack)
| removeCustomPotionEffects(itemStack)
Expand Down Expand Up @@ -410,7 +410,8 @@ private static boolean deleteIllegalItem(@NotNull final ItemStack itemStack) {
* @param itemStack the item to revert
* @return whether the nbt tag was removed
*/
private static boolean revertnbtFurnaces(@NotNull final ItemStack itemStack) {
private static boolean revertNBTContainer(@NotNull final ItemStack itemStack) {
// TODO rename the config option to nbtContainers
if (!AntiIllegals.config().getBoolean("nbtFurnaces"))
return false;

Expand Down

1 comment on commit aaeaaa9

@sendingpackets
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gay

Please sign in to comment.