Решено WorldGuard EntityDamageByEntityEvent не работает.

Статус
Закрыто для дальнейших ответов.

maximcs1

Старожил
Пользователь
Баллы
103
Вот ошибка:
[SEVERE] Could not pass event EntityDamageByEntityEvent to WorldGuard v5.9.1-SNAPSHOT
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:445)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:67)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464)
at org.bukkit.craftbukkit.v1_6_R3.event.CraftEventFactory.callEvent(CraftEventFactory.java:80)
at org.bukkit.craftbukkit.v1_6_R3.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:424)
at org.bukkit.craftbukkit.v1_6_R3.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:453)
at net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:968)
at net.minecraft.entity.player.EntityPlayer.func_70097_a(EntityPlayer.java:1235)
at net.minecraft.entity.player.EntityPlayerMP.localAttackEntityFrom(EntityPlayerMP.java:614)
at api.player.server.ServerPlayerAPI.attackEntityFrom(ServerPlayerAPI.java:2586)
at net.minecraft.entity.player.EntityPlayerMP.func_70097_a(EntityPlayerMP.java)
at net.minecraft.entity.projectile.EntityArrow.func_70071_h_(EntityArrow.java:331)
at net.minecraft.world.World.func_72866_a(World.java:2910)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:1011)
at net.minecraft.world.World.func_72870_g(World.java:2859)
at net.minecraft.world.World.func_72939_s(World.java:2681)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:899)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:332)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:782)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:665)
at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:583)
Caused by: java.lang.NoSuchMethodError: org.bukkit.entity.Projectile.getShooter()Lorg/bukkit/projectiles/ProjectileSource;
at com.sk89q.worldguard.bukkit.WorldGuardEntityListener.onEntityDamageByProjectile(WorldGuardEntityListener.java:385)
at com.sk89q.worldguard.bukkit.WorldGuardEntityListener.onEntityDamageByEntity(WorldGuardEntityListener.java:198)
at com.sk89q.worldguard.bukkit.WorldGuardEntityListener.onEntityDamage(WorldGuardEntityListener.java:451)
at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:441)
... 21 more
Кто-нибудь встречался с ошибкой и как решить? Вызывается просто, надо в приваченной территории с флагом pvp:deny выстрелить из лука по игроку.
 
> Caused by: java.lang.NoSuchMethodError: org.bukkit.entity.Projectile.getShooter()
Плагин у тебя строит не для твоей версии сервера. API Bukkit любят изменять, вот и возникают такие траблы.
 
> Caused by: java.lang.NoSuchMethodError: org.bukkit.entity.Projectile.getShooter()
Плагин у тебя строит не для твоей версии сервера. API Bukkit любят изменять, вот и возникают такие траблы.
Какую версию посоветуешь для 1.6.4
 
На dev.bukkit.org заходишь и качаешь тебе нужную версию (во вкладке "Files").
 
Статус
Закрыто для дальнейших ответов.
Назад
Верх Низ