From 79f8a032f3d2a0dd6c72eb626dd526b4735605ed Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Sun, 7 Aug 2011 02:19:26 +0200 Subject: [PATCH] Fixed warnings. --- .../com/sk89q/bukkit/migration/NijiPermissionsResolver.java | 1 - src/main/java/com/sk89q/worldedit/EditSession.java | 2 +- .../com/sk89q/worldedit/bukkit/WorldEditPlayerListener.java | 3 --- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main/java/com/sk89q/bukkit/migration/NijiPermissionsResolver.java b/src/main/java/com/sk89q/bukkit/migration/NijiPermissionsResolver.java index df87acd18..0eea7df66 100644 --- a/src/main/java/com/sk89q/bukkit/migration/NijiPermissionsResolver.java +++ b/src/main/java/com/sk89q/bukkit/migration/NijiPermissionsResolver.java @@ -20,7 +20,6 @@ package com.sk89q.bukkit.migration; import org.bukkit.Server; -import org.bukkit.World; import org.bukkit.entity.Player; import org.bukkit.plugin.Plugin; import org.bukkit.plugin.PluginManager; diff --git a/src/main/java/com/sk89q/worldedit/EditSession.java b/src/main/java/com/sk89q/worldedit/EditSession.java index 69012f837..e7cd93c68 100644 --- a/src/main/java/com/sk89q/worldedit/EditSession.java +++ b/src/main/java/com/sk89q/worldedit/EditSession.java @@ -1329,7 +1329,7 @@ public class EditSession { for (int y = upperY; y >= lowerY; --y) { Vector pt = new Vector(x, y, z); - Vector above = new Vector(x, y + 1, z); + //Vector above = new Vector(x, y + 1, z); int blockType = getBlockType(pt); boolean isTransformable = diff --git a/src/main/java/com/sk89q/worldedit/bukkit/WorldEditPlayerListener.java b/src/main/java/com/sk89q/worldedit/bukkit/WorldEditPlayerListener.java index a7d108086..7d075345e 100644 --- a/src/main/java/com/sk89q/worldedit/bukkit/WorldEditPlayerListener.java +++ b/src/main/java/com/sk89q/worldedit/bukkit/WorldEditPlayerListener.java @@ -21,8 +21,6 @@ package com.sk89q.worldedit.bukkit; import org.bukkit.entity.Player; import org.bukkit.event.block.Action; -import org.bukkit.event.player.PlayerAnimationEvent; -import org.bukkit.event.player.PlayerAnimationType; import org.bukkit.event.player.PlayerCommandPreprocessEvent; import org.bukkit.event.player.PlayerInteractEvent; import org.bukkit.event.player.PlayerListener; @@ -30,7 +28,6 @@ import org.bukkit.event.player.PlayerQuitEvent; import com.sk89q.worldedit.LocalPlayer; import com.sk89q.worldedit.LocalWorld; import com.sk89q.worldedit.WorldVector; -import com.sk89q.worldedit.blocks.BlockID; /** * Handles all events thrown in relation to a Player