Skip to content

Commit

Permalink
fix: fix stupid photographer location bug
Browse files Browse the repository at this point in the history
  • Loading branch information
MC-XiaoHei committed Mar 17, 2024
1 parent 7f44b93 commit b2bec5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/cn/xor7/iseeyou/ISeeYou.kt
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ class ISeeYou : JavaPlugin(), CommandExecutor {
if (photographer == null) throw RuntimeException("Error on create photographer $name")
val uuid = UUID.randomUUID().toString()

photographer.teleport(location)
photographers[uuid] = photographer
commandPhotographersNameUUIDMap[name] = uuid
val currentTime = LocalDateTime.now()
Expand Down

0 comments on commit b2bec5e

Please sign in to comment.