Fixed a compile error in Jenkins caused by BOPCommand. I'm not entirely sure why this is an issue, but this should fix it.

This commit is contained in:
Adubbz 2015-09-19 21:29:03 +10:00
parent cc56619bf0
commit 77e5231927
2 changed files with 12 additions and 5 deletions

View file

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

View file

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