Some cleanup.

This commit is contained in:
sk89q 2011-03-17 02:31:38 -07:00
parent 837efb75d1
commit edc94594eb
2 changed files with 2 additions and 2 deletions

View File

@ -321,8 +321,7 @@ public void onCreatureSpawn(CreatureSpawnEvent event) {
WorldConfiguration wcfg = cfg.getWorldConfig(event.getEntity().getWorld().getName()); WorldConfiguration wcfg = cfg.getWorldConfig(event.getEntity().getWorld().getName());
//CreatureType creaType = (CreatureType) CreatureType.valueOf(event.getMobType().toString()); //CreatureType creaType = (CreatureType) CreatureType.valueOf(event.getMobType().toString());
CreatureType creaType = event.getCreatureType(); CreatureType creaType = event.getCreatureType();
String creaName = "";
Boolean cancelEvent = false; Boolean cancelEvent = false;
if (wcfg.blockCreatureSpawn.contains(creaType)) { if (wcfg.blockCreatureSpawn.contains(creaType)) {

View File

@ -25,6 +25,7 @@
/** /**
* *
* @author Michael * @author Michael
* @param <T>
*/ */
public abstract class RegionFlagInfo<T> { public abstract class RegionFlagInfo<T> {