Added mob type enum and subsequently removed case sensitivity from //set with mobspawners.

This commit is contained in:
md-5
2011-09-06 18:06:17 +10:00
committed by Wizjany
parent 1c4c621500
commit 46ba1c7f5b
3 changed files with 63 additions and 8 deletions

View File

@ -25,7 +25,7 @@ import java.util.Map;
import java.util.HashMap;
/**
* Represents chests.
* Represents mob spawners.
*
* @author sk89q
*/
@ -45,7 +45,7 @@ public class MobSpawnerBlock extends BaseBlock implements TileEntityBlock {
*/
public MobSpawnerBlock() {
super(BlockID.MOB_SPAWNER);
this.mobType = "Pig";
this.mobType = MobType.PIG.getName();
}
/**