Start debugging CC
This commit is contained in:
parent
df48369e70
commit
e8cc23279f
@ -3,6 +3,7 @@ package nautilus.game.arcade.game.games.christmas.parts;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
|
|
||||||
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Effect;
|
import org.bukkit.Effect;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
@ -180,10 +181,15 @@ public class Part4 extends Part
|
|||||||
//Create
|
//Create
|
||||||
Location loc = UtilAlg.Random(_mobSpawns);
|
Location loc = UtilAlg.Random(_mobSpawns);
|
||||||
|
|
||||||
|
Bukkit.broadcastMessage(Host.CreatureAllowOverride + "");
|
||||||
|
|
||||||
Host.CreatureAllowOverride = true;
|
Host.CreatureAllowOverride = true;
|
||||||
Zombie ent = UtilVariant.spawnZombieVillager(loc);
|
Zombie ent = UtilVariant.spawnZombieVillager(loc);
|
||||||
|
Bukkit.broadcastMessage("SPAWNING");
|
||||||
Host.CreatureAllowOverride = false;
|
Host.CreatureAllowOverride = false;
|
||||||
|
|
||||||
|
Bukkit.broadcastMessage(Host.CreatureAllowOverride + "");
|
||||||
|
|
||||||
ent.getEquipment().setItemInHand(new ItemStack(Material.WOOD_PICKAXE));
|
ent.getEquipment().setItemInHand(new ItemStack(Material.WOOD_PICKAXE));
|
||||||
ent.getEquipment().setChestplate(new ItemStack(Material.LEATHER_CHESTPLATE));
|
ent.getEquipment().setChestplate(new ItemStack(Material.LEATHER_CHESTPLATE));
|
||||||
ent.getEquipment().setLeggings(new ItemStack(Material.LEATHER_LEGGINGS));
|
ent.getEquipment().setLeggings(new ItemStack(Material.LEATHER_LEGGINGS));
|
||||||
|
Loading…
Reference in New Issue
Block a user