From 965b8731e15d21aab6c47edf6073becec66b7084 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sat, 15 Jan 2011 20:16:51 +0000 Subject: [PATCH] Changed BlockFace to match enum standards By: Dinnerbone --- .../src/main/java/org/bukkit/BlockFace.java | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/BlockFace.java b/paper-api/src/main/java/org/bukkit/BlockFace.java index 12eb2c54d3..7c476bca8f 100644 --- a/paper-api/src/main/java/org/bukkit/BlockFace.java +++ b/paper-api/src/main/java/org/bukkit/BlockFace.java @@ -4,17 +4,17 @@ package org.bukkit; * Represents the face of a block */ public enum BlockFace { - North(-1, 0, 0), - East(0, 0, -1), - South(1, 0, 0), - West(0, 0, 1), - Up(0, 1, 0), - Down(0, -1, 0), - NorthEast(North, East), - NorthWest(North, West), - SouthEast(South, East), - SouthWest(South, West), - Self(0, 0, 0); + NORTH(-1, 0, 0), + EAST(0, 0, -1), + SOUTH(1, 0, 0), + WEST(0, 0, 1), + UP(0, 1, 0), + DOWN(0, -1, 0), + NORTH_EAST(NORTH, EAST), + NORTH_WEST(NORTH, WEST), + SOUTH_EAST(SOUTH, EAST), + SOUTH_WEST(SOUTH, WEST), + SELF(0, 0, 0); private final int modX; private final int modY;