Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
WillFP committed May 11, 2024
2 parents 697e0b7 + 08f6715 commit f71fa64
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ class HologramDecentHolograms : HologramIntegration {
}

override fun setContents(contents: List<String>) {
DHAPI.setHologramLines(DHAPI.getHologram(id), contents)
val hologram = DHAPI.getHologram(id)
if (hologram != null) {
DHAPI.setHologramLines(hologram, contents)
}
}
}
}

0 comments on commit f71fa64

Please sign in to comment.