diff options
| author | shedaniel <daniel@shedaniel.me> | 2021-11-14 03:20:23 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2021-11-14 03:20:23 +0800 |
| commit | f04d72b96e5c562d4de7f5f5e5521942de5df49a (patch) | |
| tree | 2740c71c1b3b641757f0d1627e53546250e08845 /runtime/src/main/java/me/shedaniel/rei/plugin/test | |
| parent | 760f20e8bdf63ee4af47bb408cdac18e6dd7a591 (diff) | |
| download | RoughlyEnoughItems-f04d72b96e5c562d4de7f5f5e5521942de5df49a.tar.gz RoughlyEnoughItems-f04d72b96e5c562d4de7f5f5e5521942de5df49a.tar.bz2 RoughlyEnoughItems-f04d72b96e5c562d4de7f5f5e5521942de5df49a.zip | |
Removed deprecated APIs, 1.18-pre1
Diffstat (limited to 'runtime/src/main/java/me/shedaniel/rei/plugin/test')
| -rw-r--r-- | runtime/src/main/java/me/shedaniel/rei/plugin/test/REITestPlugin.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/src/main/java/me/shedaniel/rei/plugin/test/REITestPlugin.java b/runtime/src/main/java/me/shedaniel/rei/plugin/test/REITestPlugin.java index 28bbe66ca..7a943b273 100644 --- a/runtime/src/main/java/me/shedaniel/rei/plugin/test/REITestPlugin.java +++ b/runtime/src/main/java/me/shedaniel/rei/plugin/test/REITestPlugin.java @@ -30,6 +30,8 @@ import me.shedaniel.rei.api.client.plugins.REIClientPlugin; import me.shedaniel.rei.api.client.registry.entry.EntryRegistry; import me.shedaniel.rei.api.common.entry.EntryStack; import me.shedaniel.rei.api.common.entry.comparison.ItemComparatorRegistry; +import me.shedaniel.rei.api.common.plugins.PluginManager; +import me.shedaniel.rei.api.common.registry.ReloadStage; import me.shedaniel.rei.api.common.util.EntryStacks; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; @@ -53,7 +55,7 @@ public class REITestPlugin implements REIClientPlugin { private Random random = new Random(); @Override - public void preRegister() { + public void preStage(PluginManager<REIClientPlugin> manager, ReloadStage stage) { LogManager.getLogger().error("REI Test Plugin is enabled! If you see this unintentionally, please report this!"); } |
