package wdl.range;

public interface IProtectionRange {
	/**
	 * Gets the lowest chunk x coordinate.
	 * @return
	 */
	public abstract int getChunkX1();
	/**
	 * Gets the lowest chunk y coordinate.
	 * @return
	 */
	public abstract int getChunkY1();
	/**
	 * Gets the lowest chunk y coordinate.
	 * @return
	 */
	public abstract int getChunkX2();
	/**
	 * Gets the highest chunk y coordinate.
	 * @return
	 */
	public abstract int getChunkY2();
}

@@ -15,16 +15,240 @@
 nge;%0D%0A%0D%0A
+/**%0D%0A * Base interface for any protection range.%0D%0A * %3Cbr/%3E%0D%0A * Used to either explicitly %3Cb%3Eblacklist%3C/b%3E / disable saving of%0D%0A * or %3Cb%3Ewhitelist%3C/b%3E allow saving of the chunk, even if saving is%0D%0A * normally disabled.%0D%0A */%0D%0A
 public i
@@ -685,11 +685,245 @@
 kY2();%0D%0A
+%09%0D%0A%09/**%0D%0A%09 * Is this range a whitelist or a blacklist?%0D%0A%09 * %0D%0A%09 * @return %3Ccode%3Etrue%3C/code%3E to whitelist the given chunks,%0D%0A%09 *         %3Ccode%3Efalse%3C/code%3E to blacklist the given chunks.%0D%0A%09 */%0D%0A%09public abstract boolean isWhitelist();%0D%0A
 %7D%0D%0A

Add isWhitelist method to IProtectionRange.