Rebuild patches
This commit is contained in:
parent
b12044f2b7
commit
2190d87f45
2 changed files with 5 additions and 7 deletions
|
@ -9,9 +9,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
--- a/src/main/java/org/bukkit/entity/FallingBlock.java
|
--- a/src/main/java/org/bukkit/entity/FallingBlock.java
|
||||||
+++ b/src/main/java/org/bukkit/entity/FallingBlock.java
|
+++ b/src/main/java/org/bukkit/entity/FallingBlock.java
|
||||||
@@ -0,0 +0,0 @@ public interface FallingBlock extends Entity {
|
@@ -0,0 +0,0 @@ public interface FallingBlock extends Entity {
|
||||||
* @param drop true to break into an item when obstructed
|
* @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
|
+ * Gets the source block location of the falling block
|
||||||
|
@ -20,6 +20,4 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
+ */
|
+ */
|
||||||
+ org.bukkit.Location getSourceLoc(); // PaperSpigot - Add FallingBlock source location API
|
+ org.bukkit.Location getSourceLoc(); // PaperSpigot - Add FallingBlock source location API
|
||||||
}
|
}
|
||||||
--
|
--
|
||||||
1.9.4.msysgit.2
|
|
||||||
|
|
|
@ -129,8 +129,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftFallingSand.java
|
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftFallingSand.java
|
||||||
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftFallingSand.java
|
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftFallingSand.java
|
||||||
@@ -0,0 +0,0 @@ public class CraftFallingSand extends CraftEntity implements FallingSand {
|
@@ -0,0 +0,0 @@ public class CraftFallingSand extends CraftEntity implements FallingSand {
|
||||||
public void setDropItem(boolean drop) {
|
public void setHurtEntities(boolean hurtEntities) {
|
||||||
getHandle().dropItem = drop;
|
getHandle().hurtEntities = hurtEntities;
|
||||||
}
|
}
|
||||||
+
|
+
|
||||||
+ // PaperSpigot start - Add FallingBlock source location API
|
+ // PaperSpigot start - Add FallingBlock source location API
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue