From 5e2eccadbd91171c01cdb209d1338bcfb7786b1c Mon Sep 17 00:00:00 2001 From: shedaniel Date: Thu, 2 Jan 2020 14:31:16 +0800 Subject: 3.3 Fix #58 Close #134 Close #158 Fix #227 --- .../java/me/shedaniel/rei/tests/plugin/REITestPlugin.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/main/java/me/shedaniel/rei/tests/plugin/REITestPlugin.java') 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; } - + } -- cgit