mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Minor formatting tweaks
This commit is contained in:
1 parent
c1f2b2bcaa
commit
52f9999991
5 files changed
+6
-5
No files matched your search
@@ -164,7 +164,7 @@ public class BukkitHuskHomes extends JavaPlugin implements HuskHomes, BukkitTask
|
||||
initialize("hooks", (plugin) -> {
|
||||
this.registerHooks();
|
||||
|
||||
if (hooks.size() > 0) {
|
||||
if (!hooks.isEmpty()) {
|
||||
hooks.forEach(hook -> {
|
||||
try {
|
||||
hook.initialize();
|
||||
|
||||
@@ -41,7 +41,7 @@ public class BrigadierUtil {
|
||||
@NotNull org.bukkit.command.Command bukkitCommand,
|
||||
@NotNull Command command) {
|
||||
final InputStream commodoreFile = plugin.getResource(
|
||||
"commodore/" + bukkitCommand.getName() + ".commodore"
|
||||
String.format("commodore/%s.commodore", bukkitCommand.getName())
|
||||
);
|
||||
if (commodoreFile == null) {
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user