mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
[CI skip] Some minor changes
This commit is contained in:
parent
a0d2fc3953
commit
f2eeadb24b
1
pom.xml
1
pom.xml
@ -30,6 +30,7 @@
|
||||
<sonar.organization>thebusybiscuit-github</sonar.organization>
|
||||
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
|
||||
<sonar.log.level>DEBUG</sonar.log.level>
|
||||
<sonar.exclusions>src/main/java/me/mrCookieSlime/Slimefun/bstats/bukkit/Metrics.java</sonar.exclusions>
|
||||
<sonar.coverage.jacoco.xmlReportPaths>target/site/jacoco/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
|
||||
</properties>
|
||||
|
||||
|
@ -8,6 +8,7 @@ import org.bukkit.Effect;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.Sound;
|
||||
import org.bukkit.Tag;
|
||||
import org.bukkit.block.Block;
|
||||
import org.bukkit.block.BlockFace;
|
||||
import org.bukkit.block.BlockState;
|
||||
@ -17,7 +18,6 @@ import org.bukkit.inventory.Inventory;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
import io.github.thebusybiscuit.cscorelib2.inventory.InvUtils;
|
||||
import io.github.thebusybiscuit.cscorelib2.materials.MaterialCollections;
|
||||
import io.github.thebusybiscuit.cscorelib2.protection.ProtectableAction;
|
||||
import io.github.thebusybiscuit.cscorelib2.scheduling.TaskQueue;
|
||||
import io.github.thebusybiscuit.slimefun4.core.attributes.RecipeDisplayItem;
|
||||
@ -50,12 +50,12 @@ public class Composter extends SimpleSlimefunItem<BlockUseHandler> implements Re
|
||||
private List<ItemStack> getMachineRecipes() {
|
||||
List<ItemStack> items = new LinkedList<>();
|
||||
|
||||
for (Material leave : MaterialCollections.getAllLeaves()) {
|
||||
for (Material leave : Tag.LEAVES.getValues()) {
|
||||
items.add(new ItemStack(leave, 8));
|
||||
items.add(new ItemStack(Material.DIRT));
|
||||
}
|
||||
|
||||
for (Material sapling : MaterialCollections.getAllSaplings()) {
|
||||
for (Material sapling : Tag.SAPLINGS.getValues()) {
|
||||
items.add(new ItemStack(sapling, 8));
|
||||
items.add(new ItemStack(Material.DIRT));
|
||||
}
|
||||
|
@ -60,7 +60,7 @@ public class Crucible extends SimpleSlimefunItem<BlockUseHandler> implements Rec
|
||||
items.add(new ItemStack(Material.TERRACOTTA, 12));
|
||||
items.add(new ItemStack(Material.LAVA_BUCKET));
|
||||
|
||||
for (Material leave : MaterialCollections.getAllLeaves()) {
|
||||
for (Material leave : Tag.LEAVES.getValues()) {
|
||||
items.add(new ItemStack(leave, 16));
|
||||
items.add(new ItemStack(Material.WATER_BUCKET));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user