Changed tabs to 4 spaces, removed unnecessary imports

By: durron597 <martin.jared@gmail.com>
This commit is contained in:
CraftBukkit/Spigot 2011-01-01 08:06:04 -05:00
parent f73e384c27
commit ae512460b8
5 changed files with 5 additions and 8 deletions

0
paper-server/pom.xml Executable file → Normal file
View file

View file

@ -7,7 +7,7 @@ import org.bukkit.LivingEntity;
public class CraftLivingEntity extends CraftEntity implements LivingEntity {
private EntityLiving entity;
public CraftLivingEntity(final CraftServer server, final EntityLiving entity) {
super(server, entity);
this.entity = entity;

View file

@ -1,15 +1,12 @@
package org.bukkit.craftbukkit;
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import net.minecraft.server.EntityPlayerMP;
import net.minecraft.server.MinecraftServer;
import net.minecraft.server.ServerConfigurationManager;
import net.minecraft.server.WorldServer;
import org.bukkit.*;
import org.bukkit.plugin.PluginManager;
import org.bukkit.plugin.SimplePluginManager;

View file

@ -16,7 +16,7 @@ public class CraftWorld implements World {
public CraftWorld(WorldServer world) {
this.world = world;
}
public Block getBlockAt(int x, int y, int z) {
BlockCoordinate loc = new BlockCoordinate(x, y, z);
Block block = blockCache.get(loc);
@ -78,7 +78,7 @@ public class CraftWorld implements World {
private final class ChunkCoordinate {
public final int x;
public final int z;
public ChunkCoordinate(final int x, final int z) {
this.x = x;
this.z = z;
@ -115,7 +115,7 @@ public class CraftWorld implements World {
public final int x;
public final int y;
public final int z;
public BlockCoordinate(final int x, final int y, final int z) {
this.x = x;
this.y = y;

View file

@ -6,7 +6,7 @@ import net.minecraft.server.MinecraftServer;
public class Main {
public static void main(String[] args) {
// Todo: Installation script
try {
MinecraftServer.main(args);
} catch (Throwable t) {