mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-22 13:00:03 +00:00
Fix Implementation of MCServer$MCCommand.compareTo(Object) (#17)
* Remove compareTo override * This does not actually extend CommandBase...
This commit is contained in:
1 parent
83f04655f7
commit
0a70a6f3a3
1 file changed
+1
-1
@@ -144,7 +144,7 @@ public class MCServer extends AbstractServer {
|
||||
|
||||
@Override
|
||||
public int compareTo(Object o) {
|
||||
return 0;
|
||||
return this.getCommandName().compareTo(((ICommand) o).getCommandName());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user