Skip to content

Commit

Permalink
Updated DecentHOlos
Browse files Browse the repository at this point in the history
  • Loading branch information
WillFP committed Dec 20, 2023
1 parent 989118a commit e6318c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion eco-core/core-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ dependencies {
compileOnly("com.github.MilkBowl:VaultAPI:1.7")
compileOnly("com.github.WhipDevelopment:CrashClaim:f9cd7d92eb")
compileOnly("com.wolfyscript.wolfyutilities:wolfyutilities:3.16.0.0")
compileOnly("com.github.decentsoftware-eu:decentholograms:2.1.2")
compileOnly("com.github.decentsoftware-eu:decentholograms:2.8.5")
compileOnly("com.github.Gypopo:EconomyShopGUI-API:1.4.6")
compileOnly("com.github.N0RSKA:ScytherAPI:55a")
compileOnly("org.black_ixx:playerpoints:3.2.5")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import org.bukkit.Location
import java.util.UUID

class HologramDecentHolograms : HologramIntegration {
override fun createHologram(location: Location, contents: MutableList<String>): Hologram {
override fun createHologram(location: Location, contents: List<String>): Hologram {
val id = UUID.randomUUID().toString()

DHAPI.createHologram(id, location, contents)
Expand All @@ -26,8 +26,8 @@ class HologramDecentHolograms : HologramIntegration {
DHAPI.getHologram(id)?.destroy()
}

override fun setContents(contents: MutableList<String>) {
override fun setContents(contents: List<String>) {
DHAPI.setHologramLines(DHAPI.getHologram(id), contents)
}
}
}
}

0 comments on commit e6318c0

Please sign in to comment.