Skip to content
This repository has been archived by the owner on Nov 21, 2018. It is now read-only.

Commit

Permalink
Fix sign text being set to null
Browse files Browse the repository at this point in the history
  • Loading branch information
jedediah committed Jan 30, 2017
1 parent 17cc2e0 commit 539f079
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public void onSignEdit(SignChangeEvent event) {

for (Violation v : plugin.getPlayerManager().getViolationSet(player).getViolationsForTime(signCreateInstant)) {
if (v.isCancelled()) {
event.setLine(i, null);
event.setLine(i, "");
event.setCancelled(true);
break;
}
Expand Down

0 comments on commit 539f079

Please sign in to comment.