mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-14 01:04:06 +00:00
remove subscribe event annotation, as migration requires @EventHandler
This commit is contained in:
1 parent
89a96b6223
commit
a376bdcd6d
1 file changed
+1
-1
@@ -60,10 +60,10 @@ public abstract class Migration
|
||||
};
|
||||
|
||||
/*
|
||||
* This must be called from your mod's main class as it requires @EventHandler notation
|
||||
* This works on the assumption the FML event will have a list of string IDs that are missing.
|
||||
* During this phase, check for old IDs and remap as needed, or destroy ones marked for removal.
|
||||
*/
|
||||
@SubscribeEvent
|
||||
public void processMigrationEvent (FMLMissingMappingsEvent event) {
|
||||
if (!remapBlock.isEmpty() || !remapItem.isEmpty()) {
|
||||
event.applyModContainer(mod);
|
||||
|
||||
Reference in new issue
Block a user