Navigation Menu

Skip to content
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.

Could not pass event PotionSplashEvent to Factions v2.0.1 #272

Closed
LemADEC opened this issue Jul 9, 2013 · 1 comment
Closed

Could not pass event PotionSplashEvent to Factions v2.0.1 #272

LemADEC opened this issue Jul 9, 2013 · 1 comment

Comments

@LemADEC
Copy link

LemADEC commented Jul 9, 2013

2013-07-09 12:20:44 [SEVERE] Could not pass event PotionSplashEvent to Factions v2.0.1
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:363)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:47)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464)
at org.bukkit.craftbukkit.v1_5_R3.event.CraftEventFactory.callPotionSplashEvent(CraftEventFactory.java:289)
at net.minecraft.entity.projectile.EntityPotion.func_70184_a(EntityPotion.java:132)
at net.minecraft.entity.projectile.EntityThrowable.func_70071_h_(EntityThrowable.java:201)
at net.minecraft.world.World.func_72866_a(World.java:2511)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:921)
at net.minecraft.world.World.func_72870_g(World.java:2464)
at net.minecraft.world.World.func_72939_s(World.java:2276)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:786)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:820)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:320)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:716)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:600)
at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573)
Caused by: java.lang.IllegalArgumentException: Instant potions cannot be extended
at org.apache.commons.lang.Validate.isTrue(Validate.java:157)
at org.bukkit.potion.Potion.setHasExtendedDuration(Potion.java:246)
at org.bukkit.potion.Potion.extend(Potion.java:130)
at org.bukkit.potion.Potion.fromDamage(Potion.java:380)
at org.bukkit.potion.Potion.fromItemStack(Potion.java:389)
at com.massivecraft.mcore.util.MUtil.getPotionEffects(MUtil.java:301)
at com.massivecraft.mcore.util.MUtil.isHarmfulPotion(MUtil.java:338)
at com.massivecraft.mcore.util.MUtil.isHarmfulPotion(MUtil.java:350)
at com.massivecraft.factions.listeners.FactionsListenerMain.canCombatDamageHappen(FactionsListenerMain.java:252)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:361)
... 17 more

This is happening on our 100 players PvP server. It seems factions is trying to extend potion duration but fails to do so ?!?

@oloflarsson
Copy link
Member

This is fixed in a recent update to MCore.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants