mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-22 05:02:18 +00:00
Fix checkPatches task. Closes #6956
Fix patched in method using srg name. Closes #6965 Fix capabilities not being collected for ClientWorld. Closes #6966 Fix TagEmptyCondition using client side copy of tags instead of server. Closes #6949 Fix ExtendedButton using narrator text. Closes #6958, Closes #6959 Fix misaligned patch in RepairContainer. Closes #6950, Closes #6953 Fix LivingJumpEvent not being fired for players jumping horses. Closes #6929 Remove extra getToughness method in ArmorItem. Closes #6970 Remove GetCollisionBoxesEvent. Closes #6921
This commit is contained in:
1 parent
065ebde57e
commit
201349f8de
12 files changed
+49
-116
No files matched your search
@@ -25,6 +25,7 @@ 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;
|
||||
|
||||
@@ -57,7 +58,7 @@ public class TagEmptyCondition implements ICondition
|
||||
@Override
|
||||
public boolean test()
|
||||
{
|
||||
ITag<Item> tag = ItemTags.getCollection().get(tag_name);
|
||||
ITag<Item> tag = TagCollectionManager.func_232928_e_().func_232925_b_().get(tag_name);
|
||||
return tag == null || tag.func_230236_b_().isEmpty();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user