Rebuild patches

This commit is contained in:
Zach Brown 2015-09-18 20:44:37 -05:00
commit ea565eff61
5 changed files with 23 additions and 23 deletions

View file

@ -1,17 +1,17 @@
From f63d437c04b5a57accd831c20410554f6bc534af Mon Sep 17 00:00:00 2001
From f255e1de552da583447620334ba2df03daabf61d Mon Sep 17 00:00:00 2001
From: Byteflux <byte@byteflux.net>
Date: Fri, 17 Apr 2015 02:43:00 -0700
Subject: [PATCH] Add FallingBlock source location API
diff --git a/src/main/java/org/bukkit/entity/FallingBlock.java b/src/main/java/org/bukkit/entity/FallingBlock.java
index 1edd6e0..93b17e3 100644
index bc56fa2..240a278 100644
--- a/src/main/java/org/bukkit/entity/FallingBlock.java
+++ b/src/main/java/org/bukkit/entity/FallingBlock.java
@@ -45,4 +45,11 @@ public interface FallingBlock extends Entity {
* @param drop true to break into an item when obstructed
@@ -59,4 +59,11 @@ public interface FallingBlock extends Entity {
* @param hurtEntities whether entities will be damaged by this block.
*/
void setDropItem(boolean drop);
void setHurtEntities(boolean hurtEntities);
+
+ /**
+ * Gets the source block location of the falling block
@ -21,5 +21,5 @@ index 1edd6e0..93b17e3 100644
+ org.bukkit.Location getSourceLoc(); // PaperSpigot - Add FallingBlock source location API
}
--
1.9.4.msysgit.2
2.5.2