package frogcraftrebirth.api.event;

import frogcraftrebirth.api.tile.IPersonal;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraftforge.fml.common.eventhandler.Cancelable;
import net.minecraftforge.fml.common.eventhandler.Event;
import net.minecraftforge.fml.common.eventhandler.Event.HasResult;

@Cancelable
@HasResult
public class PersonalizationEvent extends Event {

	public final IPersonal tile;
	public final EntityPlayer player;

	public PersonalizationEvent(IPersonal tile, EntityPlayer player) {
		this.tile = tile;
		this.player = player;
	}

	@HasResult
	public class DispersonalizationEvent extends PersonalizationEvent {

		public DispersonalizationEvent(IPersonal tile, EntityPlayer player) {
			super(tile, player);
		}

	}

}

@@ -346,31 +346,29 @@
 c class 
-Personalization
+AccessControl
 Event ex
@@ -456,31 +456,29 @@
 %09public 
-Personalization
+AccessControl
 Event(IP
@@ -561,16 +561,17 @@
 yer;%0A%09%7D%0A
+%09
 %0A%09@HasRe
@@ -587,102 +587,241 @@
 lic 
-class DispersonalizationEvent extends PersonalizationEvent %7B%0A%0A%09%09public DispersonalizationEvent
+static class Activate extends AccessControlEvent %7B%0A%09%09public Activate(IPersonal tile, EntityPlayer player) %7B%0A%09%09%09super(tile, player);%0A%09%09%7D%09%0A%09%7D%0A%0A%09@HasResult%0A%09public static class Deactivate extends AccessControlEvent %7B%0A%09%09public Deactivate
 (IPe
@@ -884,15 +884,14 @@
 r);%0A%09%09%7D%0A
-%0A
 %09%7D%0A%0A%7D%0A

Make static