mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +01:00
... (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.)
This commit is contained in:
parent
4cb4a6224b
commit
2d4cf76825
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user