mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-20 08:07:55 +01:00
Some cleanup.
This commit is contained in:
parent
837efb75d1
commit
edc94594eb
@ -321,8 +321,7 @@ public void onCreatureSpawn(CreatureSpawnEvent event) {
|
||||
WorldConfiguration wcfg = cfg.getWorldConfig(event.getEntity().getWorld().getName());
|
||||
|
||||
//CreatureType creaType = (CreatureType) CreatureType.valueOf(event.getMobType().toString());
|
||||
CreatureType creaType = event.getCreatureType();
|
||||
String creaName = "";
|
||||
CreatureType creaType = event.getCreatureType();
|
||||
Boolean cancelEvent = false;
|
||||
|
||||
if (wcfg.blockCreatureSpawn.contains(creaType)) {
|
||||
|
@ -25,6 +25,7 @@
|
||||
/**
|
||||
*
|
||||
* @author Michael
|
||||
* @param <T>
|
||||
*/
|
||||
public abstract class RegionFlagInfo<T> {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user