mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
[CI skip] Provoking our discord webhook
This commit is contained in:
parent
e3ba751cf9
commit
dd633df96f
@ -49,7 +49,7 @@ Whatever version of Slimefun you choose, we also recommend you to keep `auto-upd
|
||||
</p>
|
||||
|
||||
## Discord
|
||||
You can find Slimefun's community on Discord and connect with **over 1500** users of this plugin from all over the world.<br>
|
||||
You can find Slimefun's community on Discord and connect with **over 1800** users of this plugin from all over the world.<br>
|
||||
Click the badge down below to join the server for suggestions/questions or other discussions about this plugin.<br>
|
||||
We are also hosting a community event every so often, join us to find out more.<br>
|
||||
**Important**: We do **not** accept bug reports on discord, please use our [Issue Tracker](https://github.com/TheBusyBiscuit/Slimefun4/issues) to submit bug reports!
|
||||
|
@ -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;
|
||||
|
@ -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: <ID>", "", "&7&eRight Click&7 to open"), null, new ItemStack[9]);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user