mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-25 02:27:42 +01:00
Fixed bad merge.
This commit is contained in:
parent
81eb2cad1a
commit
7fab4144ae
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user