Errors for V5.2 running on Bukkit/Mincraft 1.12.2 #115


  • New
Open
  • xXZintrekXx created this issue Mar 16, 2018

    [InfernalMobs] Task #13 for InfernalMobs v5.2 generated an exception
    java.lang.NullPointerException: null
    at io.hotmail.com.jacob_vejvoda.infernal_mobs.infernal_mobs.applyEffect(infernal_mobs.java:1258) ~[?:?]
    at io.hotmail.com.jacob_vejvoda.infernal_mobs.infernal_mobs$6.run(infernal_mobs.java:1313) ~[?:?]
    at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:53) ~[craftbukkit-1.12.2.jar:git-Bukkit-7e94e65]
    at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:352) [craftbukkit-1.12.2.jar:git-Bukkit-7e94e65]
    at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:690) [craftbukkit-1.12.2.jar:git-Bukkit-7e94e65]
    at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:371) [craftbukkit-1.12.2.jar:git-Bukkit-7e94e65]
    at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:651) [craftbukkit-1.12.2.jar:git-Bukkit-7e94e65]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:555) [craftbukkit-1.12.2.jar:git-Bukkit-7e94e65]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_161]

    [01:52:42 ERROR]: Could not pass event CreatureSpawnEvent to InfernalMobs v5.2
    org.bukkit.event.EventException: null
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:298) ~[craftbukkit-1.12.2.jar:git-Bukkit-7e94e65]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[craftbukkit-1.12.2.jar:git-Bukkit-7e94e65]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:499) [craftbukkit-1.12.2.jar:git-Bukkit-7e94e65]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [craftbukkit-1.12.2.jar:git-Bukkit-7e94e65]
    at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:284) [craftbukkit-1.12.2.jar:git-Bukkit-7e94e65]
    at net.minecraft.server.v1_12_R1.World.addEntity(World.java:989) [craftbukkit-1.12.2.jar:git-Bukkit-7e94e65]
    at net.minecraft.server.v1_12_R1.WorldServer.addEntity(WorldServer.java:1092) [craftbukkit-1.12.2.jar:git-Bukkit-7e94e65]
    at net.minecraft.server.v1_12_R1.SpawnerCreature.a(SpawnerCreature.java:162) [craftbukkit-1.12.2.jar:git-Bukkit-7e94e65]
    at net.minecraft.server.v1_12_R1.WorldServer.doTick(WorldServer.java:286) [craftbukkit-1.12.2.jar:git-Bukkit-7e94e65]
    at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:742) [craftbukkit-1.12.2.jar:git-Bukkit-7e94e65]
    at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:371) [craftbukkit-1.12.2.jar:git-Bukkit-7e94e65]
    at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:651) [craftbukkit-1.12.2.jar:git-Bukkit-7e94e65]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:555) [craftbukkit-1.12.2.jar:git-Bukkit-7e94e65]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_161]
    Caused by: java.lang.NullPointerException
    at io.hotmail.com.jacob_vejvoda.infernal_mobs.EventListener.onMobSpawn(EventListener.java:242) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_161]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_161]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_161]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_161]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:296) ~[craftbukkit-1.12.2.jar:git-Bukkit-7e94e65]
    ... 13 more

     

    Config:

    configVersion: 1.12.2
    #Chance is the chance that a mob will not be infernal, the lower the number the higher the chance. (min 1)
    #Enabledworlds are the worlds that infernal mobs can spawn in.
    #Enabledmobs are the mobs that can become infernal.
    #Loot is the items that are dropped when an infernal mob dies. (You can have up to 64)
    #Item is the item, Amount is the amount, Durability is how damaged it will be (0 is undamaged).
    #nameTagsLevel is the visibility level of the name tags, 0 = no tag,
    #1 = tag shown when your looking at the mob, 2 = tag always shown.
    #Note, if you have name tags set to 0, on server restart all infernal mobs will turn normal.
    #If you want to enable the boss bar you must have BarAPI on your server.
    #nameTagsName and bossBarsName have these special tags: <mobLevel> = the amount of powers the boss has.
    #<abilities> = A list of about 3-5 (whatever can fit) names of abilities the boss has.
    #<mobName> = Name of the mob, so if the mob is a creeper the mobName will be "Creeper".
    chance: 100
    levelChance:
    '3': 1
    '4': 1
    '5': 1
    '6': 1
    '7': 1
    namePrefix: '&fInfernal'
    levelPrefixs:
    '3': '&fMad'
    '4': '&fRabid'
    '5': '&fGiant'
    '6': '&fKing'
    '7': '&fInfernal'
    nameTagsLevel: 1
    nameTagsName: '&f<prefix> <mobName>'
    bossBarsName: '&fLevel <mobLevel> &f<prefix> <mobName>'
    enableBossBar: True
    bossBarSettings:
    defaultColor: "PURPLE"
    defaultStyle: "SOLID"
    perMob:
    PigZombie:
    color: "RED"
    style: "SEGMENTED_6"
    Ghast:
    color: "RED"
    style: "SEGMENTED_12"
    WitherSkeleton:
    color: "RED"
    style: "SEGMENTED_20"
    Blaze:
    color: "RED"
    style: "SEGMENTED_10"
    Creeper:
    color: "GREEN"
    style: "SEGMENTED_6"
    enableScoreBoard: true
    showHealthOnScoreBoard: true
    effectAllPlayerAttacks: true
    enableParticles: true
    enableDeathMessages: True
    deathMessages:
    - '&cplayer &chas killed an mob&c!'
    - '&cAn mob &cwas slain by player&c!'
    - '&cplayer &cowned an mob&c!'
    - '&cAn mob &cwas beheaded by player&c''s weapon!'
    - '&cplayer&c''s weapon &ckilled an mob&c!'
    - '&cAn mob &cwas killed by player &cusing a weapon&c!'
    enableSpawnMessages: True
    spawnMessageRadius: 64
    spawnMessages:
    - '&cAn Infernal mob has spawned near you!'
    - '&cWatch out!'
    - '&cYou hear a faint scream...'
    - '&cSomething is coming...'
    - '&cYou hear a mob nearby...'
    enabledworlds:
    - world
    - world_nether
    - world_the_end
    enabledmobs:
    - PigZombie
    - Zombie
    - Skeleton
    - Spider
    - CaveSpider
    - Creeper
    - Witch
    - Enderman
    - Pig
    - Slime
    - MagmaSlime
    - Wolf
    - Ghast
    - SilverFish
    - Blaze
    - WitherSkeleton
    poisonous: true
    armoured: true
    blinding: true
    withering: true
    tosser: true
    thief: true
    quicksand: true
    bullwark: true
    rust: true
    sapper: true
    1up: true
    cloaked: true
    ender: true
    ghastly: true
    lifesteal: true
    sprint: true
    storm: true
    webber: true
    vengeance: true
    weakness: true
    berserk: true
    explode: true
    potions: true
    mama: true
    molten: true
    archer: true
    necromancer: true
    firework: true
    gravity: true
    flying: true
    mounted: true
    morph: true
    mamaSpawnAmount: 3
    vengeanceDamage: 6
    berserkDamage: 3
    moltenBurnLength: 5
    gravityLevitateLength: 6
    horseMountsHaveSaddles: true
    armouredMountsHaveArmour: true
    fireworkColour:
    red: 255
    green: 10
    blue: 10
    mobParticles:
    - lavaSpark:1:10
    mountFate: nothing
    enabledMounts:
    - Spider
    - MushroomCow
    - Cow
    - Sheep
    - Pig
    - EntityHorse
    - Slime
    - Ghast
    enabledRiders:
    - PigZombie
    - Skeleton
    - Zombie
    - Witch
    - Creeper
    - SnowMan
    - Blaze
    - Enderman
    - WitherSkeleton
    disabledBabyMobs:
    - Wolf
    - MushroomCow
    - Cow
    - Sheep
    - Pig
    - Chicken
    - Ocelot
    - EntityHorse
    #The min/max amount of powers that a mob will get.
    #NOTE: the amount of enabled powers must not be less than the maxpowers.
    #healthMultiplier is what number the infernal mobs health will be multiplied by.
    #If you have healthByPower enabled then healthMultiplier and healthByDistance will do nothing.
    #dropChance is the chance a dead mob will drop loot, the lower the higher the chance (min 1)
    #xpMultiplier is what the normal xp a mob drops will be multiplied by.
    #healthByDistance makes mobs HP go up as you go further from the world spawn.
    #Every addDistance blocks the mobs will get healthToAdd times how far they are HP.
    minpowers: 3
    maxpowers: 7
    healthMultiplier: 4
    healthByPower: false
    healthByDistance: false
    powerByDistance: false
    healthToAdd: 5
    addDistance: 200
    powerToAdd: 1
    enableDrops: true
    dropChance: 1
    xpMultiplier: 8
    enableFarmingDrops: false
    naturalSpawnHeight: 0

  • xXZintrekXx added a tag New Mar 16, 2018

To post a comment, please login or register a new account.