From 96378719694a17b9ecf6ff093608656c78f7577f Mon Sep 17 00:00:00 2001 From: aumgn Date: Mon, 27 Aug 2012 13:32:45 +0200 Subject: [PATCH] Replace deprecated FallingSand by new FallingBlock --- src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java b/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java index c5d7afd02..38aa9154b 100644 --- a/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java +++ b/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java @@ -48,7 +48,7 @@ import org.bukkit.entity.Arrow; import org.bukkit.entity.Boat; import org.bukkit.entity.Entity; import org.bukkit.entity.ExperienceOrb; -import org.bukkit.entity.FallingSand; +import org.bukkit.entity.FallingBlock; import org.bukkit.entity.HumanEntity; import org.bukkit.entity.Item; import org.bukkit.entity.LivingEntity; @@ -694,7 +694,7 @@ public class BukkitWorld extends LocalWorld { ++num; } } else if (type == EntityType.FALLING_BLOCKS) { - if (ent instanceof FallingSand) { + if (ent instanceof FallingBlock) { ent.remove(); ++num; }