Skip to content

Commit

Permalink
Update Bukkit/src/main/java/com/plotsquared/bukkit/listener/PlayerEve…
Browse files Browse the repository at this point in the history
…ntListener.java

Co-authored-by: powercas_gamer <[email protected]>
  • Loading branch information
Tamikaschu and powercasgamer authored Dec 1, 2023
1 parent a829ba0 commit 455936b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ public void onPlayerDyeSign(PlayerInteractEvent event) {
ItemStack itemStack = event.getItem();
Block block = event.getClickedBlock();
if (block != null && block.getState() instanceof Sign) {
if(itemStack == null) {
if (itemStack == null) {
return;
}
if (DYES.contains(itemStack.getType())) {
Expand Down

0 comments on commit 455936b

Please sign in to comment.