Sfoglia il codice sorgente

... (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 anni fa
parent
commit
2d4cf76825
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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
      */
     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) {