mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-16 13:03:12 +01:00
16 lines
532 B
Java
16 lines
532 B
Java
package ellpeck.actuallyadditions.event;
|
|
|
|
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
|
|
import cpw.mods.fml.common.gameevent.PlayerEvent;
|
|
import ellpeck.actuallyadditions.items.ItemWingsOfTheBats;
|
|
|
|
public class LogoutEvent{
|
|
|
|
@SubscribeEvent
|
|
public void onLogOutEvent(PlayerEvent.PlayerLoggedOutEvent event){
|
|
//Remove Player from Wings' Fly Permission List
|
|
ItemWingsOfTheBats.removeWingsFromPlayer(event.player, true);
|
|
ItemWingsOfTheBats.removeWingsFromPlayer(event.player, false);
|
|
}
|
|
|
|
}
|