mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Minor formatting adjustments to keep my commit to code style.
Whoops. Eclipse removed a line in imports, and I placed a brace on the wrong line. Fixed.
This commit is contained in:
parent
123a139e43
commit
a6e445b7ef
@ -18,6 +18,7 @@ import com.gmail.nossr50.config.Config;
|
|||||||
import com.gmail.nossr50.events.items.McMMOItemSpawnEvent;
|
import com.gmail.nossr50.events.items.McMMOItemSpawnEvent;
|
||||||
import com.gmail.nossr50.runnables.player.PlayerProfileLoadingTask;
|
import com.gmail.nossr50.runnables.player.PlayerProfileLoadingTask;
|
||||||
import com.gmail.nossr50.util.player.UserManager;
|
import com.gmail.nossr50.util.player.UserManager;
|
||||||
|
|
||||||
import com.google.common.collect.ImmutableSet;
|
import com.google.common.collect.ImmutableSet;
|
||||||
|
|
||||||
public final class Misc {
|
public final class Misc {
|
||||||
@ -72,8 +73,7 @@ public final class Misc {
|
|||||||
return (first.getWorld() == second.getWorld()) && (first.distanceSquared(second) < (maxDistance * maxDistance) || maxDistance == 0);
|
return (first.getWorld() == second.getWorld()) && (first.distanceSquared(second) < (maxDistance * maxDistance) || maxDistance == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user