diff --git a/README.md b/README.md index a68709f08..8fac1cf52 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ Whatever version of Slimefun you choose, we also recommend you to keep `auto-upd

## Discord -You can find Slimefun's community on Discord and connect with **over 1500** users of this plugin from all over the world.
+You can find Slimefun's community on Discord and connect with **over 1800** users of this plugin from all over the world.
Click the badge down below to join the server for suggestions/questions or other discussions about this plugin.
We are also hosting a community event every so often, join us to find out more.
**Important**: We do **not** accept bug reports on discord, please use our [Issue Tracker](https://github.com/TheBusyBiscuit/Slimefun4/issues) to submit bug reports! diff --git a/src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.java b/src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.java index 43a35c3b9..85b5f4478 100644 --- a/src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.java +++ b/src/main/java/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem.java @@ -104,7 +104,7 @@ public class SlimefunItem implements Placeable { public SlimefunItem(Category category, SlimefunItemStack item, RecipeType recipeType, ItemStack[] recipe, ItemStack recipeOutput) { Validate.notNull(category, "'category' is not allowed to be null!"); Validate.notNull(item, "'item' is not allowed to be null!"); - // Validate.notNull(recipeType, "'recipeType' is not allowed to be null!"); + Validate.notNull(recipeType, "'recipeType' is not allowed to be null!"); this.category = category; this.item = item; diff --git a/src/test/java/io/github/thebusybiscuit/slimefun4/tests/listeners/TestBackpackListener.java b/src/test/java/io/github/thebusybiscuit/slimefun4/tests/listeners/TestBackpackListener.java index efabc9150..7d799b6c1 100644 --- a/src/test/java/io/github/thebusybiscuit/slimefun4/tests/listeners/TestBackpackListener.java +++ b/src/test/java/io/github/thebusybiscuit/slimefun4/tests/listeners/TestBackpackListener.java @@ -18,12 +18,9 @@ import be.seeseemelk.mockbukkit.ServerMock; import io.github.thebusybiscuit.cscorelib2.item.CustomItem; import io.github.thebusybiscuit.slimefun4.api.player.PlayerBackpack; import io.github.thebusybiscuit.slimefun4.api.player.PlayerProfile; -import io.github.thebusybiscuit.slimefun4.implementation.items.backpacks.SlimefunBackpack; import io.github.thebusybiscuit.slimefun4.implementation.listeners.BackpackListener; import io.github.thebusybiscuit.slimefun4.mocks.TestUtilities; import me.mrCookieSlime.Slimefun.SlimefunPlugin; -import me.mrCookieSlime.Slimefun.Objects.Category; -import me.mrCookieSlime.Slimefun.api.SlimefunItemStack; public class TestBackpackListener { @@ -86,12 +83,4 @@ public class TestBackpackListener { return ref.get(); } - private class MockBackpack extends SlimefunBackpack { - - public MockBackpack(Category category, String id) { - super(BACKPACK_SIZE, category, new SlimefunItemStack(id, Material.CHEST, "&4Mock Backpack", id, "&7Size: &e" + BACKPACK_SIZE, "&7ID: ", "", "&7&eRight Click&7 to open"), null, new ItemStack[9]); - } - - } - }