Global ID -> Id rename

By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
Bukkit/Spigot
2011-01-15 20:53:43 +01:00
parent 4d7b10c59d
commit 550e518848
8 changed files with 35 additions and 36 deletions

View File

@@ -11,7 +11,7 @@ import org.bukkit.material.MaterialData;
import org.bukkit.material.Wool;
/**
* An enum of all material IDs accepted by the official server + client
* An enum of all material ids accepted by the official server + client
*/
public enum Material {
AIR(0),
@@ -213,7 +213,7 @@ public enum Material {
this.data = data;
}
public int getID() {
public int getId() {
return id;
}
@@ -260,9 +260,8 @@ public enum Material {
static {
for (Material material : values()) {
lookupId.put(material.getID(), material);
lookupId.put(material.getId(), material);
lookupName.put(material.name(), material);
}
}
}