Moved itemstack.type to material

This commit is contained in:
Dinnerbone
2011-01-01 06:59:21 +00:00
parent 9f2a9d4674
commit c246509cee
3 changed files with 26 additions and 216 deletions

View File

@@ -32,8 +32,8 @@ public class BlockPhysicsEvent extends BlockEvent {
*
* @return Changed block's type
*/
public ItemStack.Type getChangedType() {
return ItemStack.Type.getType(changed); // TODO: Move type to its own file
public Material getChangedType() {
return Material.getType(changed); // TODO: Move type to its own file
}
/**