mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-25 18:47:44 +01:00
Fixed bad merge.
This commit is contained in:
parent
81eb2cad1a
commit
7fab4144ae
@ -320,13 +320,9 @@ 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.
|
||||
Boolean cancelEvent = false;
|
||||
|
||||
if (wcfg.blockCreatureSpawn.contains(creaType)) {
|
||||
|
Loading…
Reference in New Issue
Block a user