diff --git a/src/main/java/biomesoplenty/common/command/BOPCommand.java b/src/main/java/biomesoplenty/common/command/BOPCommand.java index 80cd0c781..1bc0a70a4 100644 --- a/src/main/java/biomesoplenty/common/command/BOPCommand.java +++ b/src/main/java/biomesoplenty/common/command/BOPCommand.java @@ -10,10 +10,14 @@ package biomesoplenty.common.command; import java.util.List; +import com.google.common.collect.Lists; + +import biomesoplenty.common.util.biome.BiomeUtils; import net.minecraft.block.Block; import net.minecraft.block.state.IBlockState; import net.minecraft.command.CommandBase; import net.minecraft.command.CommandException; +import net.minecraft.command.ICommand; import net.minecraft.command.ICommandSender; import net.minecraft.command.NumberInvalidException; import net.minecraft.command.WrongUsageException; @@ -26,9 +30,6 @@ import net.minecraft.world.World; import net.minecraft.world.biome.BiomeGenBase; import net.minecraft.world.chunk.Chunk; import net.minecraft.world.chunk.storage.ExtendedBlockStorage; -import biomesoplenty.common.util.biome.BiomeUtils; - -import com.google.common.collect.Lists; public class BOPCommand extends CommandBase { @@ -248,4 +249,12 @@ public class BOPCommand extends CommandBase return null; } + + //This is apparently causing a compile error on Jenkins for some unknown reason + //Nontheless, this fixes it + @Override + public int compareTo(Object object) + { + return this.getCommandName().compareTo(((ICommand)object).getCommandName()); + } } diff --git a/src/main/java/biomesoplenty/common/handler/TrailsEventHandler.java b/src/main/java/biomesoplenty/common/handler/TrailsEventHandler.java index 2944e6e23..db4ff9486 100644 --- a/src/main/java/biomesoplenty/common/handler/TrailsEventHandler.java +++ b/src/main/java/biomesoplenty/common/handler/TrailsEventHandler.java @@ -8,9 +8,7 @@ package biomesoplenty.common.handler; -import biomesoplenty.api.particle.BOPParticleTypes; import biomesoplenty.common.remote.TrailManager; -import biomesoplenty.core.BiomesOPlenty; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.util.BlockPos; import net.minecraft.util.EnumFacing;