3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-09 21:10:05 +01:00

Replace deprecated FallingSand by new FallingBlock

Dieser Commit ist enthalten in:
aumgn 2012-08-27 13:32:45 +02:00
Ursprung 853db26e2f
Commit 9637871969

Datei anzeigen

@ -48,7 +48,7 @@ import org.bukkit.entity.Arrow;
import org.bukkit.entity.Boat; import org.bukkit.entity.Boat;
import org.bukkit.entity.Entity; import org.bukkit.entity.Entity;
import org.bukkit.entity.ExperienceOrb; import org.bukkit.entity.ExperienceOrb;
import org.bukkit.entity.FallingSand; import org.bukkit.entity.FallingBlock;
import org.bukkit.entity.HumanEntity; import org.bukkit.entity.HumanEntity;
import org.bukkit.entity.Item; import org.bukkit.entity.Item;
import org.bukkit.entity.LivingEntity; import org.bukkit.entity.LivingEntity;
@ -694,7 +694,7 @@ public class BukkitWorld extends LocalWorld {
++num; ++num;
} }
} else if (type == EntityType.FALLING_BLOCKS) { } else if (type == EntityType.FALLING_BLOCKS) {
if (ent instanceof FallingSand) { if (ent instanceof FallingBlock) {
ent.remove(); ent.remove();
++num; ++num;
} }