Skip to content

Commit

Permalink
TASK-4911 fixed getCameraMode returned null by to early calls, by ini…
Browse files Browse the repository at this point in the history
…t PlayerCameraData on EventPriority.LOWEST
  • Loading branch information
Wolf2323 committed Nov 21, 2024
1 parent 5cc701c commit 52df4f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public PlayerJoinHandler(PowerCamera plugin) {
this.plugin = plugin;
}

@EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = false)
@EventHandler(priority = EventPriority.LOWEST)
public void onPlayerJoin(PlayerJoinEvent event) {
Player player = event.getPlayer();

Expand Down

0 comments on commit 52df4f6

Please sign in to comment.