Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,21 @@
<dependency>
<groupId>org.bstats</groupId>
<artifactId>bstats-bukkit</artifactId>
<version>2.2.1</version>
<version>3.0.0</version>
<scope>compile</scope>
</dependency>

<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.20</version>
<version>1.18.24</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>annotations</artifactId>
<version>3.0.1u2</version>
</dependency>
</dependencies>
</project>
7 changes: 4 additions & 3 deletions src/main/java/io/ncbpfluffybear/slimecustomizer/Events.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.block.BlockPlaceEvent;
import org.bukkit.event.inventory.InventoryClickEvent;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack;
Expand Down Expand Up @@ -44,8 +43,10 @@ public Events() {}
private static final int[] INPUT_SLOTS = {28, 29};
private static final int[] OUTPUT_SLOTS = {33, 34};

private static final NamespacedKey SF_KEY = new NamespacedKey(Slimefun.getPlugin(Slimefun.class),
"slimefun_item");
private static final NamespacedKey SF_KEY = new NamespacedKey(
Slimefun.getPlugin(Slimefun.class),
"slimefun_item"
);

@EventHandler
public void onDualRecipeClick(InventoryClickEvent e) {
Expand Down
6 changes: 5 additions & 1 deletion src/main/java/io/ncbpfluffybear/slimecustomizer/Links.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
*
* @author NCBPFluffyBear
*/
public class Links {
public final class Links {

private Links() {
throw new IllegalStateException("Utility class");
}

private static final String PREFIX = "https://github.com/NCBPFluffyBear/SlimeCustomizer#";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ public List<String> onTabComplete (CommandSender sender, Command cmd, String lab
break;
case 4:
Collections.addAll(options, "1", "2", "4", "8", "16", "32", "64");
break;
default:
break;
}
} else if (args[0].equals("getsaveditem") && player.hasPermission("slimecustomizer.admin")) {
if (args.length == 2) {
Expand Down
Loading