From 386157edc1d53669142b7d402c6bd12f8633e2e9 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sun, 5 Jun 2016 17:35:44 +1000 Subject: [PATCH] fix reserved flags --- .../src/main/java/com/intellectualcrafters/plot/flag/Flag.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Core/src/main/java/com/intellectualcrafters/plot/flag/Flag.java b/Core/src/main/java/com/intellectualcrafters/plot/flag/Flag.java index b0608f4b9..8b986dfa9 100644 --- a/Core/src/main/java/com/intellectualcrafters/plot/flag/Flag.java +++ b/Core/src/main/java/com/intellectualcrafters/plot/flag/Flag.java @@ -18,8 +18,9 @@ public abstract class Flag { this.name = name; } - public void reserve() { + public Flag reserve() { this.reserved = true; + return this; } public boolean isReserved() {