Skip to content

Commit

Permalink
dep fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
NazarXeXe committed Feb 4, 2023
1 parent 7ac0cf3 commit ab4302f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@

<dependencies>
<dependency>
<groupId>com.github.PowerNukkitX</groupId>
<artifactId>PowerNukkitX</artifactId>
<version>master-SNAPSHOT</version>
<groupId>cn.powernukkitx</groupId>
<artifactId>powernukkitx</artifactId>
<version>-SNAPSHOT</version>
</dependency>

<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-text -->
Expand Down
12 changes: 4 additions & 8 deletions src/main/java/me/nazarxexe/survival/econ/Economy.kt
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,10 @@ class Economy : PluginBase() {
TerminalComponent(
logger, TextComponent(
TextComponent.coloredText(TextFormat.GREEN, "Successfully grabbed economy manager.")
.add(
TextComponent.coloredText(
TextFormat.GREEN, "Successfully grabbed chat manager"
)
)
)
)
.info()
.add(TextComponent.coloredText(
TextFormat.GREEN, "Successfully grabbed chat manager")))).info()
}

api = EconomyAPI(this)
server.serviceManager.register(
EconomyAPI::class.java,
Expand All @@ -74,6 +69,7 @@ class Economy : PluginBase() {
ServicePriority.NORMAL
)
server.pluginManager.registerEvents(EconomyRegistrations(this), this)

registerCommands()
}

Expand Down

0 comments on commit ab4302f

Please sign in to comment.