Added a command to list schematics and the abilitiy to autodetect schematic format

This commit is contained in:
zml2008
2012-03-28 12:30:36 -07:00
parent 7812dd6a09
commit 33752eb058
5 changed files with 101 additions and 10 deletions

View File

@ -34,4 +34,14 @@ public class SpoutBiomeType extends com.sk89q.worldedit.BiomeType {
public BiomeType getSpoutBiome() {
return type;
}
@Override
public boolean equals(Object other) {
return other instanceof SpoutBiomeType && ((SpoutBiomeType)other).type.equals(this.type);
}
@Override
public int hashCode() {
return 31 + type.hashCode();
}
}