From d049dba447ec5b18209d75829c0f9d9ce2c8ff10 Mon Sep 17 00:00:00 2001 From: graywolf336 Date: Sat, 15 Feb 2014 00:16:52 -0600 Subject: [PATCH] Default the cancelled to false. --- .../com/graywolf336/jail/events/PrePrisonerJailedEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/graywolf336/jail/events/PrePrisonerJailedEvent.java b/src/main/java/com/graywolf336/jail/events/PrePrisonerJailedEvent.java index 73e68e2..811af7c 100644 --- a/src/main/java/com/graywolf336/jail/events/PrePrisonerJailedEvent.java +++ b/src/main/java/com/graywolf336/jail/events/PrePrisonerJailedEvent.java @@ -22,7 +22,7 @@ import com.graywolf336.jail.beans.Prisoner; */ public class PrePrisonerJailedEvent extends Event implements Cancellable { private static final HandlerList handlers = new HandlerList(); - private boolean cancelled; + private boolean cancelled = false; private boolean online; private Jail jail; private Cell cell;