summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authordurron597 <martin.jared@gmail.com>2011-01-08 08:05:04 -0500
committerdurron597 <martin.jared@gmail.com>2011-01-08 08:05:04 -0500
commitca29aaa51960bf4e00c4b76f4b5252c0d165aca4 (patch)
tree5f1babf19dd49bd466743ec421738911a0e93817 /src/main
parentb43d8d60a671a7375acae9542cf42e945211aed5 (diff)
downloadbukkit-ca29aaa51960bf4e00c4b76f4b5252c0d165aca4.tar
bukkit-ca29aaa51960bf4e00c4b76f4b5252c0d165aca4.tar.gz
bukkit-ca29aaa51960bf4e00c4b76f4b5252c0d165aca4.tar.lz
bukkit-ca29aaa51960bf4e00c4b76f4b5252c0d165aca4.tar.xz
bukkit-ca29aaa51960bf4e00c4b76f4b5252c0d165aca4.zip
Should be LivingEntity
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/bukkit/event/block/BlockInteractEvent.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/org/bukkit/event/block/BlockInteractEvent.java b/src/main/java/org/bukkit/event/block/BlockInteractEvent.java
index 7587e329..5447724b 100644
--- a/src/main/java/org/bukkit/event/block/BlockInteractEvent.java
+++ b/src/main/java/org/bukkit/event/block/BlockInteractEvent.java
@@ -1,7 +1,7 @@
package org.bukkit.event.block;
import org.bukkit.Block;
-import org.bukkit.Entity;
+import org.bukkit.LivingEntity;
import org.bukkit.Player;
import org.bukkit.event.Cancellable;
@@ -17,14 +17,14 @@ import org.bukkit.event.Cancellable;
*/
public class BlockInteractEvent extends BlockEvent implements Cancellable {
protected boolean cancel;
- protected Entity theEntity;
+ protected LivingEntity theEntity;
/**
* @param type The type of this event
* @param interactedBlock the block that was interacted with
* @param who The entity that interacted with
*/
- public BlockInteractEvent(Type type, Block interactedBlock, Entity who) {
+ public BlockInteractEvent(Type type, Block interactedBlock, LivingEntity who) {
super(type, interactedBlock);
theEntity = who;
}
@@ -54,7 +54,7 @@ public class BlockInteractEvent extends BlockEvent implements Cancellable {
*
* @return Entity the entity that triggered this event
*/
- public Entity getEntity() {
+ public LivingEntity getEntity() {
return theEntity;
}