Start debugging CC

This commit is contained in:
AlexTheCoder 2016-11-26 16:02:47 -05:00 committed by cnr
parent df48369e70
commit e8cc23279f
1 changed files with 8 additions and 2 deletions

View File

@ -3,6 +3,7 @@ package nautilus.game.arcade.game.games.christmas.parts;
import java.util.ArrayList;
import java.util.Iterator;
import org.bukkit.Bukkit;
import org.bukkit.Effect;
import org.bukkit.Location;
import org.bukkit.Material;
@ -179,11 +180,16 @@ public class Part4 extends Part
//Create
Location loc = UtilAlg.Random(_mobSpawns);
Bukkit.broadcastMessage(Host.CreatureAllowOverride + "");
Host.CreatureAllowOverride = true;
Zombie ent = UtilVariant.spawnZombieVillager(loc);
Bukkit.broadcastMessage("SPAWNING");
Host.CreatureAllowOverride = false;
Bukkit.broadcastMessage(Host.CreatureAllowOverride + "");
ent.getEquipment().setItemInHand(new ItemStack(Material.WOOD_PICKAXE));
ent.getEquipment().setChestplate(new ItemStack(Material.LEATHER_CHESTPLATE));
ent.getEquipment().setLeggings(new ItemStack(Material.LEATHER_LEGGINGS));