fix imports for new PowerLossEvent

This commit is contained in:
Brettflan 2012-12-19 06:15:31 -06:00
parent 0948800678
commit 657305a5fe
2 changed files with 10 additions and 3 deletions

View File

@ -1,7 +1,14 @@
package com.massivecraft.factions.event; package com.massivecraft.factions.event;
import src.com.massivecraft.factions.FPlayer; import org.bukkit.event.Cancellable;
import src.com.massivecraft.factions.Faction; import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
import com.massivecraft.factions.FPlayer;
import com.massivecraft.factions.Faction;
import org.bukkit.entity.Player;
public class PowerLossEvent extends Event implements Cancellable public class PowerLossEvent extends Event implements Cancellable
{ {

View File

@ -46,7 +46,6 @@ import com.massivecraft.factions.FPlayers;
import com.massivecraft.factions.Faction; import com.massivecraft.factions.Faction;
import com.massivecraft.factions.P; import com.massivecraft.factions.P;
import com.massivecraft.factions.event.PowerLossEvent; import com.massivecraft.factions.event.PowerLossEvent;
import com.massivecraft.factions.listeners.FactionsBlockListener;
import com.massivecraft.factions.struct.FFlag; import com.massivecraft.factions.struct.FFlag;
import com.massivecraft.factions.struct.Rel; import com.massivecraft.factions.struct.Rel;
import com.massivecraft.factions.util.MiscUtil; import com.massivecraft.factions.util.MiscUtil;
@ -86,6 +85,7 @@ public class FactionsEntityListener implements Listener
else { else {
powerLossEvent.setMessage("<i>Your power is now <h>%d / %d"); powerLossEvent.setMessage("<i>Your power is now <h>%d / %d");
} }
// call Event // call Event
Bukkit.getPluginManager().callEvent(powerLossEvent); Bukkit.getPluginManager().callEvent(powerLossEvent);