Fix crash on exiting personal pocket dimension #185
@@ -1,6 +1,7 @@
|
|||||||
package StevenDimDoors.mod_pocketDim.commands;
|
package StevenDimDoors.mod_pocketDim.commands;
|
||||||
|
|
||||||
import net.minecraft.command.CommandBase;
|
import net.minecraft.command.CommandBase;
|
||||||
|
import net.minecraft.command.ICommand;
|
||||||
import net.minecraft.command.ICommandSender;
|
import net.minecraft.command.ICommandSender;
|
||||||
import net.minecraft.entity.player.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
import net.minecraft.util.ChatMessageComponent;
|
import net.minecraft.util.ChatMessageComponent;
|
||||||
@@ -84,6 +85,6 @@ public abstract class DDCommandBase extends CommandBase
|
|||||||
@Override
|
@Override
|
||||||
public int compareTo(Object par1Obj)
|
public int compareTo(Object par1Obj)
|
||||||
{
|
{
|
||||||
return this.getCommandName().compareTo(((CommandBase)par1Obj).getCommandName());
|
return this.getCommandName().compareTo(((ICommand)par1Obj).getCommandName());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user