mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-21 04:32:27 +00:00
Update buildscript & apply automatic formatting rules
This commit is contained in:
1 parent
a7683b885d
commit
f7a900e910
173 files changed
+4581
-5321
No files matched your search
@@ -1,13 +1,11 @@
|
||||
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.NBTTagEnd;
|
||||
import net.minecraft.nbt.NBTTagList;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
import java.util.Set;
|
||||
|
||||
public class NBTHelper {
|
||||
|
||||
/*
|
||||
@@ -52,8 +50,7 @@ public class NBTHelper {
|
||||
return true;
|
||||
}
|
||||
|
||||
private static NBTBase get(NBTTagList tag, int idx)
|
||||
{
|
||||
return idx >= 0 && idx < tag.tagList.size() ? (NBTBase)tag.tagList.get(idx) : null;
|
||||
private static NBTBase get(NBTTagList tag, int idx) {
|
||||
return idx >= 0 && idx < tag.tagList.size() ? (NBTBase) tag.tagList.get(idx) : null;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user