From 4208ba33d62015536208bc01de40dd9bb01041f2 Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Wed, 21 Mar 2012 11:06:32 +0100 Subject: [PATCH] Updated for latest SpoutAPI and fixed some warnings. --- .../com/sk89q/worldedit/spout/SpoutPlayerBlockBag.java | 1 - .../sk89q/worldedit/spout/SpoutServerInterface.java | 1 - .../java/com/sk89q/worldedit/spout/SpoutWorld.java | 10 +++++----- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/sk89q/worldedit/spout/SpoutPlayerBlockBag.java b/src/main/java/com/sk89q/worldedit/spout/SpoutPlayerBlockBag.java index cc22f6a58..ccdf89d5a 100644 --- a/src/main/java/com/sk89q/worldedit/spout/SpoutPlayerBlockBag.java +++ b/src/main/java/com/sk89q/worldedit/spout/SpoutPlayerBlockBag.java @@ -27,7 +27,6 @@ import com.sk89q.worldedit.bags.OutOfSpaceException; import com.sk89q.worldedit.blocks.BaseItem; import com.sk89q.worldedit.blocks.BaseItemStack; import com.sk89q.worldedit.blocks.BlockID; -import com.sk89q.worldedit.blocks.ItemType; import org.spout.api.inventory.Inventory; import org.spout.api.inventory.ItemStack; import org.spout.api.material.Material; diff --git a/src/main/java/com/sk89q/worldedit/spout/SpoutServerInterface.java b/src/main/java/com/sk89q/worldedit/spout/SpoutServerInterface.java index 4ab76e713..b4cd46d7c 100644 --- a/src/main/java/com/sk89q/worldedit/spout/SpoutServerInterface.java +++ b/src/main/java/com/sk89q/worldedit/spout/SpoutServerInterface.java @@ -23,7 +23,6 @@ import com.sk89q.minecraft.util.commands.Command; import com.sk89q.minecraft.util.commands.CommandPermissions; import com.sk89q.minecraft.util.commands.CommandsManager; import com.sk89q.worldedit.LocalPlayer; -import com.sk89q.worldedit.BiomeTypes; import com.sk89q.worldedit.LocalWorld; import com.sk89q.worldedit.ServerInterface; import org.spout.api.Game; diff --git a/src/main/java/com/sk89q/worldedit/spout/SpoutWorld.java b/src/main/java/com/sk89q/worldedit/spout/SpoutWorld.java index 7dc0b7568..26f68fd74 100644 --- a/src/main/java/com/sk89q/worldedit/spout/SpoutWorld.java +++ b/src/main/java/com/sk89q/worldedit/spout/SpoutWorld.java @@ -39,11 +39,11 @@ import org.spout.api.geo.cuboid.Chunk; import org.spout.api.inventory.ItemStack; import org.spout.api.material.MaterialData; import org.spout.api.math.Vector3; -import org.spout.vanilla.entity.object.Item; -import org.spout.vanilla.entity.object.falling.PrimedTnt; -import org.spout.vanilla.entity.object.projectile.Arrow; -import org.spout.vanilla.entity.object.vehicle.Boat; -import org.spout.vanilla.entity.object.vehicle.Minecart; +import org.spout.vanilla.controller.object.Item; +import org.spout.vanilla.controller.object.falling.PrimedTnt; +import org.spout.vanilla.controller.object.projectile.Arrow; +import org.spout.vanilla.controller.object.vehicle.Boat; +import org.spout.vanilla.controller.object.vehicle.Minecart; public class SpoutWorld extends LocalWorld { private World world;