Skip to content

Commit

Permalink
Spigot 1.19 support
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsLewizzz committed Jun 10, 2022
1 parent 1e7eee4 commit 4053291
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
19 changes: 10 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>fun.lewisdev</groupId>
<artifactId>DeluxeHub</artifactId>
<version>3.5.1</version>
<version>3.5.2</version>
<packaging>jar</packaging>

<name>DeluxeHub</name>
Expand Down Expand Up @@ -51,7 +51,7 @@
<artifactSet>
<includes>
<include>org.bstats:bstats-bukkit-lite</include>
<include>cl.bgmp:command-framework-bukkit</include>
<include>com.github.BGMP.CommandFramework:command-framework-bukkit</include>
<include>javax.inject:javax.inject</include>
<include>de.tr7zw:item-nbt-api</include>
</includes>
Expand All @@ -64,11 +64,11 @@
</relocation>
<relocation>
<pattern>cl.bgmp</pattern>
<shadedPattern>fun.lewisdev.deluxehub.libs.commandframework</shadedPattern>
<shadedPattern>fun.lewisdev.deluxehub.libs.command</shadedPattern>
</relocation>
<relocation>
<pattern>de.tr7zw.changeme.nbtapi</pattern>
<shadedPattern>fun.lewisdev.deluxehub.libs.nbtapi</shadedPattern>
<shadedPattern>fun.lewisdev.deluxehub.libs.nbt</shadedPattern>
</relocation>
</relocations>
</configuration>
Expand All @@ -94,8 +94,8 @@
<url>https://oss.sonatype.org/content/groups/public/</url>
</repository>
<repository>
<id>bgm</id>
<url>https://maven.bgmp.cl/</url>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
<repository>
<id>CodeMC</id>
Expand Down Expand Up @@ -153,14 +153,15 @@
<version>1.2</version>
</dependency>
<dependency>
<groupId>cl.bgmp</groupId>
<groupId>com.github.BGMP.CommandFramework</groupId>
<artifactId>command-framework-bukkit</artifactId>
<version>1.0.3-SNAPSHOT</version>
<version>master</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>de.tr7zw</groupId>
<artifactId>item-nbt-api</artifactId>
<version>2.9.2</version>
<version>2.10.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.github.shynixn.headdatabase</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@

public class CommandManager {

private DeluxeHubPlugin plugin;
private FileConfiguration config;
private final DeluxeHubPlugin plugin;
private final FileConfiguration config;

private CommandsManager commands;
private CommandsManagerRegistration commandRegistry;

private List<CustomCommand> customCommands;
private final List<CustomCommand> customCommands;

public CommandManager(DeluxeHubPlugin plugin) {
this.plugin = plugin;
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
# [CLOSE] - Close an open inventory gui
#--------
# MESSAGE FORMATTING:
# {#hex-code} - Hex chat colour (requires Spigot 1.16+) (e.g. "{#5fad95}Hello!")
# HEX colors formatting: https://wiki.lewisdev.fun/text-colours-rgb
# <center> Centered message! </center> - Centers a message in chat

# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
Expand Down

0 comments on commit 4053291

Please sign in to comment.