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:
Sid Shakal 2016-03-16 12:01:52 -05:00
parent 123a139e43
commit a6e445b7ef

View File

@ -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);
} }