Improve TagsUpdatedEvent by adding update case information. (#8636)

This commit is contained in:
Take Weiland authored and GitHub committed 2022-05-31 11:03:55 -07:00
1 parent e4837f65a3
commit 8d14797416
4 files changed
+69 -15

No files matched your search

@@ -99,9 +99,12 @@ public class ForgeInternalHandler
}
@SubscribeEvent
public synchronized void tagsUpdated(TagsUpdatedEvent event)
public void tagsUpdated(TagsUpdatedEvent event)
{
ForgeHooks.updateBurns();
if (event.shouldUpdateStaticData())
{
ForgeHooks.updateBurns();
}
}
@SubscribeEvent