- AuraPylon: fixxed interaction with arcane dropper

This commit is contained in:
HellFirePvP committed 2015-11-17 18:16:47 +01:00
1 parent 0f13aaddb4
commit cbcf92016d
4 files changed
+28 -8

No files matched your search

@@ -33,12 +33,12 @@ import thaumcraft.common.items.armor.Hover;
*/
public class EventHandlerEntity {
@SubscribeEvent(priority = EventPriority.LOWEST)
/*@SubscribeEvent(priority = EventPriority.LOWEST)
public void on(EntityEvent.EntityConstructing e) {
if (e.entity instanceof EntityPlayer) {
//e.entity.registerExtendedProperties(Gadomancy.MODID, new ExtendedPlayerProperties((EntityPlayer) e.entity));
}
}
}*/
@SubscribeEvent
public void on(EnderTeleportEvent e) {
@@ -49,11 +49,6 @@ public class EventHandlerEntity {
}
}
/*@SubscribeEvent
public void on( e) {
}*/
@SubscribeEvent
public void on(LivingSetAttackTargetEvent targetEvent) {
if(targetEvent.target instanceof EntityPlayer) {
@@ -72,7 +67,6 @@ public class EventHandlerEntity {
public void on(EntityItemPickupEvent event) {
if(!event.entityPlayer.worldObj.isRemote) {
if(event.item != null && event.item instanceof EntityPermNoClipItem) {
//TODO does not inform correctly?
EntityPermNoClipItem item = (EntityPermNoClipItem) event.item;
ChunkCoordinates master = (ChunkCoordinates) item.getDataWatcher().getWatchedObject(ModConfig.entityNoClipItemDatawatcherMasterId).getObject();
TileEntity te = event.entityPlayer.worldObj.getTileEntity(master.posX, master.posY, master.posZ);