1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 03:35:51 +00:00

[CI skip] Provoking our discord webhook

This commit is contained in:
TheBusyBiscuit 2020-05-17 20:20:08 +02:00
parent e3ba751cf9
commit dd633df96f
3 changed files with 2 additions and 13 deletions

View File

@ -49,7 +49,7 @@ Whatever version of Slimefun you choose, we also recommend you to keep `auto-upd
</p> </p>
## Discord ## 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> 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> 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! **Important**: We do **not** accept bug reports on discord, please use our [Issue Tracker](https://github.com/TheBusyBiscuit/Slimefun4/issues) to submit bug reports!

View File

@ -104,7 +104,7 @@ public class SlimefunItem implements Placeable {
public SlimefunItem(Category category, SlimefunItemStack item, RecipeType recipeType, ItemStack[] recipe, ItemStack recipeOutput) { public SlimefunItem(Category category, SlimefunItemStack item, RecipeType recipeType, ItemStack[] recipe, ItemStack recipeOutput) {
Validate.notNull(category, "'category' is not allowed to be null!"); Validate.notNull(category, "'category' is not allowed to be null!");
Validate.notNull(item, "'item' 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.category = category;
this.item = item; this.item = item;

View File

@ -18,12 +18,9 @@ import be.seeseemelk.mockbukkit.ServerMock;
import io.github.thebusybiscuit.cscorelib2.item.CustomItem; import io.github.thebusybiscuit.cscorelib2.item.CustomItem;
import io.github.thebusybiscuit.slimefun4.api.player.PlayerBackpack; import io.github.thebusybiscuit.slimefun4.api.player.PlayerBackpack;
import io.github.thebusybiscuit.slimefun4.api.player.PlayerProfile; 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.implementation.listeners.BackpackListener;
import io.github.thebusybiscuit.slimefun4.mocks.TestUtilities; import io.github.thebusybiscuit.slimefun4.mocks.TestUtilities;
import me.mrCookieSlime.Slimefun.SlimefunPlugin; import me.mrCookieSlime.Slimefun.SlimefunPlugin;
import me.mrCookieSlime.Slimefun.Objects.Category;
import me.mrCookieSlime.Slimefun.api.SlimefunItemStack;
public class TestBackpackListener { public class TestBackpackListener {
@ -86,12 +83,4 @@ public class TestBackpackListener {
return ref.get(); 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]);
}
}
} }