*Added EntityListener constructor
*Updated plugin.yml version number from 1.2.1 to 1.2.2
This commit is contained in:
parent
197d6babb9
commit
c27fcaa24f
@ -32,11 +32,18 @@ import org.bukkit.inventory.ItemStack;
|
||||
|
||||
public class EntityListener implements Listener {
|
||||
|
||||
private ItemStack itemInHand;
|
||||
private ArrayList<String> equalsLore;
|
||||
private ArrayList<String> equalsLoreS;
|
||||
private ArrayList<String> getLore;
|
||||
|
||||
private ItemStack itemInHand;
|
||||
private ArrayList<String> equalsLore;
|
||||
private ArrayList<String> equalsLoreS;
|
||||
private ArrayList<String> getLore;
|
||||
|
||||
public EntityListener(){
|
||||
equalsLore.add("Herobrine´s artifact");
|
||||
equalsLore.add("Bow of Teleporting");
|
||||
equalsLoreS.add("Herobrine´s artifact");
|
||||
equalsLoreS.add("Sword of Lighting");
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void onCreatureSpawn(final CreatureSpawnEvent event) {
|
||||
if (!HerobrineAI.isNPCDisabled && HerobrineAI.getPluginCore().getConfigDB().useWorlds.contains(event.getEntity().getLocation().getWorld().getName())) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
name: Herobrine
|
||||
main: net.theprogrammersworld.herobrine.HerobrineAI
|
||||
version: 1.2.1
|
||||
version: 1.2.2
|
||||
commands:
|
||||
herobrine:
|
||||
description: Main command.
|
||||
|
Reference in New Issue
Block a user