mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-24 22:14:32 +00:00
Initial 1.16.2 Update
This commit is contained in:
1 parent
a3c4ffd2c1
commit
fe43088c96
233 files changed
+1644
-2297
No files matched your search
@@ -23,8 +23,6 @@ import com.google.gson.JsonObject;
|
||||
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.tags.ITag;
|
||||
import net.minecraft.tags.ItemTags;
|
||||
import net.minecraft.tags.Tag;
|
||||
import net.minecraft.tags.TagCollectionManager;
|
||||
import net.minecraft.util.JSONUtils;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
@@ -58,7 +56,7 @@ public class TagEmptyCondition implements ICondition
|
||||
@Override
|
||||
public boolean test()
|
||||
{
|
||||
ITag<Item> tag = TagCollectionManager.func_232928_e_().func_232925_b_().get(tag_name);
|
||||
ITag<Item> tag = TagCollectionManager.func_242178_a().func_241836_b().get(tag_name);
|
||||
return tag == null || tag.func_230236_b_().isEmpty();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user