Browse Source

... (completing the previous style fix)

Not sure how I missed this one. (Well, sure I do. I used the GitHub
editor for the re-casing of the variable name. Noob mistake.)
Sid Shakal 9 years ago
parent
commit
2d4cf76825
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/gmail/nossr50/util/Misc.java

+ 1 - 1
src/main/java/com/gmail/nossr50/util/Misc.java

@@ -80,7 +80,7 @@ public final class Misc {
      * @return A {@link Location} lying at the center of the block
      * @return A {@link Location} lying at the center of the block
      */
      */
     public static Location getBlockCenter(BlockState blockState) {
     public static Location getBlockCenter(BlockState blockState) {
-        return blockstate.getLocation().add(0.5, 0.5, 0.5);
+        return blockState.getLocation().add(0.5, 0.5, 0.5);
     }
     }
 
 
     public static void dropItems(Location location, Collection<ItemStack> drops) {
     public static void dropItems(Location location, Collection<ItemStack> drops) {