mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-18 11:29:35 +00:00
[ci skip] spotlessApply with the new settings
This commit is contained in:
1 parent
f1dea5460a
commit
f106b5e766
172 files changed
+2552
-2088
No files matched your search
@@ -1,7 +1,9 @@
|
||||
package codechicken.nei.util;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
import net.minecraft.nbt.NBTBase;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.nbt.NBTTagList;
|
||||
@@ -9,8 +11,8 @@ import net.minecraft.nbt.NBTTagList;
|
||||
public class NBTHelper {
|
||||
|
||||
/*
|
||||
* Taken from Botania r1.11-379 by Vazkii under the Botania License
|
||||
* You can obtain one at https://botaniamod.net/license.php
|
||||
* Taken from Botania r1.11-379 by Vazkii under the Botania License You can obtain one at
|
||||
* https://botaniamod.net/license.php
|
||||
*/
|
||||
|
||||
/**
|
||||
@@ -32,7 +34,7 @@ public class NBTHelper {
|
||||
private static boolean matchTagCompound(NBTTagCompound template, NBTTagCompound target) {
|
||||
if (template.tagMap.size() > target.tagMap.size()) return false;
|
||||
|
||||
//noinspection unchecked
|
||||
// noinspection unchecked
|
||||
for (String key : (Set<String>) template.func_150296_c()) {
|
||||
if (!matchTag(template.getTag(key), target.getTag(key))) return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user