Spring Cleaning (#127)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
koolkrafter5andgithub-actions[bot] authored and GitHub committed 2026-05-12 20:52:29 +02:00
1 parent 1544c1bf0d
commit 3b2b31f733
413 files changed
+9272 -17658

No files matched your search

@@ -50,7 +50,7 @@ public class AltarRecipe {
}
return tierCheck >= minTier && this.requiredItem.isItemEqual(comparedStack)
&& (this.useTag ? this.areRequiredTagsEqual(comparedStack) : true);
&& (!this.useTag || this.areRequiredTagsEqual(comparedStack));
}
public boolean areRequiredTagsEqual(ItemStack comparedStack) {
@@ -69,11 +69,10 @@ public class AltarRecipe {
}
protected boolean areTagsEqual(NBTTagCompound tag, NBTTagCompound comparedTag) {
Set set = tag.func_150296_c();
Set<String> set = tag.func_150296_c();
for (Object obj : set) {
if (obj instanceof String) {
String str = (String) obj;
if (obj instanceof String str) {
NBTBase baseTag = comparedTag.getTag(str);