diff options
| author | shedaniel <daniel@shedaniel.me> | 2020-01-02 14:31:16 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2020-01-02 14:31:16 +0800 |
| commit | 5e2eccadbd91171c01cdb209d1338bcfb7786b1c (patch) | |
| tree | 6c7387de5baea8b335e8abe58651018f77ad2d41 /src/main/java/me/shedaniel/rei/tests/plugin | |
| parent | e8714fe8fc1dcaec7ad299c63e2b657870c8fb40 (diff) | |
| download | RoughlyEnoughItems-5e2eccadbd91171c01cdb209d1338bcfb7786b1c.tar.gz RoughlyEnoughItems-5e2eccadbd91171c01cdb209d1338bcfb7786b1c.tar.bz2 RoughlyEnoughItems-5e2eccadbd91171c01cdb209d1338bcfb7786b1c.zip | |
3.3
Fix #58
Close #134
Close #158
Fix #227
Diffstat (limited to 'src/main/java/me/shedaniel/rei/tests/plugin')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/tests/plugin/REITestPlugin.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/me/shedaniel/rei/tests/plugin/REITestPlugin.java b/src/main/java/me/shedaniel/rei/tests/plugin/REITestPlugin.java index 11f2ecf6f..50b6970b3 100644 --- a/src/main/java/me/shedaniel/rei/tests/plugin/REITestPlugin.java +++ b/src/main/java/me/shedaniel/rei/tests/plugin/REITestPlugin.java @@ -21,19 +21,19 @@ import java.util.Random; @TestOnly @Deprecated public class REITestPlugin implements REIPluginV0 { - + private Random random = new Random(); - + @Override public void preRegister() { LogManager.getLogger().error("REI Test Plugin is enabled! If you see this unintentionally, please report this!"); } - + @Override public Identifier getPluginIdentifier() { return new Identifier("roughlyenoughitems:test_dev_plugin"); } - + @Override public void registerEntries(EntryRegistry entryRegistry) { for (Item item : Registry.ITEM) { @@ -48,10 +48,10 @@ public class REITestPlugin implements REIPluginV0 { } } } - + public EntryStack transformStack(EntryStack stack) { stack.setAmount(random.nextInt(Integer.MAX_VALUE)); return stack; } - + } |
