Skip to content

Commit 96f1f06

Browse files
committed
chore: refactor Hologram lines property
1 parent 13a5aef commit 96f1f06

File tree

1 file changed

+2
-2
lines changed
  • stickynote-bukkit/stickynote-bukkit-nms/src/main/kotlin/org/sayandev/stickynote/bukkit/nms/hologram

1 file changed

+2
-2
lines changed

stickynote-bukkit/stickynote-bukkit-nms/src/main/kotlin/org/sayandev/stickynote/bukkit/nms/hologram/Hologram.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ import org.bukkit.Location
66
import org.bukkit.entity.Player
77
import org.sayandev.stickynote.bukkit.extension.toVector3
88
import org.sayandev.stickynote.bukkit.nms.Viewable
9-
import org.sayandev.stickynote.bukkit.warn
109
import org.sayandev.stickynote.core.math.Vector3
1110
import java.util.UUID
1211

1312
class Hologram(
14-
val lines: MutableList<HoloLine>,
13+
lines: List<HoloLine>,
1514
private var location: Location
1615
): Viewable() {
1716

17+
private val lines = lines.toMutableList()
1818
private val lineLocations: MutableMap<UUID, Location> = mutableMapOf()
1919

2020
init {

0 commit comments

Comments
 (0)