Various Small Changes #142
@@ -1,6 +1,7 @@
|
||||
package StevenDimDoors.mod_pocketDim.commands;
|
||||
|
||||
import net.minecraft.command.CommandBase;
|
||||
import net.minecraft.command.ICommand;
|
||||
import net.minecraft.command.ICommandSender;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.util.ChatMessageComponent;
|
||||
@@ -89,4 +90,19 @@ public abstract class DDCommandBase extends CommandBase
|
||||
cmp.addText(message);
|
||||
player.sendChatToPlayer(cmp);
|
||||
}
|
||||
|
||||
/*
|
||||
* The following two compareTo() methods are copied from CommandBase because it seems
|
||||
* that Dryware and Technic Jenkins don't have those functions defined. How in the world?
|
||||
* I have no idea. But it's breaking our builds. -_- ~SenseiKiwi
|
||||
*/
|
||||
public int compareTo(ICommand par1ICommand)
|
||||
{
|
||||
return this.getCommandName().compareTo(par1ICommand.getCommandName());
|
||||
}
|
||||
|
||||
public int compareTo(Object par1Obj)
|
||||
{
|
||||
return this.compareTo((ICommand)par1Obj);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user