Fixed bad merge.

This commit is contained in:
sk89q 2011-03-08 10:06:40 -08:00
parent 81eb2cad1a
commit 7fab4144ae

View File

@ -319,14 +319,10 @@ public void onCreatureSpawn(CreatureSpawnEvent event) {
GlobalConfiguration cfg = plugin.getGlobalConfiguration();
WorldConfiguration wcfg = cfg.getWorldConfig(event.getEntity().getWorld().getName());
<<<<<<< HEAD
//CreatureType creaType = (CreatureType) CreatureType.valueOf(event.getMobType().toString());
CreatureType creaType = event.getCreatureType();
String creaName = "";
=======
CreatureType creaType = (CreatureType) CreatureType.valueOf(event.getMobType().toString());
>>>>>>> ebdb727... Some initial code reorganization. Todo: Have CSVDatabase handle flags so they can be ported over, and do the commands system a cleaner way.
String creaName = "";
Boolean cancelEvent = false;
if (wcfg.blockCreatureSpawn.contains(creaType)) {