Skip to content

Commit

Permalink
missed a line
Browse files Browse the repository at this point in the history
  • Loading branch information
crashdemons committed Feb 15, 2024
1 parent 17fb99f commit a76c3fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ public void onPlayerInteract(PlayerInteractEvent event) {
if (!player.hasPermission("playerheads.clickinfo")) return;
if (clickSpamPreventer.recordEvent(event).isSpam()) return; //this doesn't really go here (before determining IF this is a head) BUT there was no other option if a user lags on getExternalHeadHandling
BlockState state = block.getState();
TexturedSkullType skullType = SkullConverter.skullTypeFromBlockState(state,true,true);
TexturedSkullType skullType = SkullConverter.skullTypeFromBlockState_NoException(state,true,true);
if (skullType == null) {
return;
}
Expand Down

0 comments on commit a76c3fb

Please sign in to comment.