From a74a0a40e232f74d0444ccb68ba4d1d76f881006 Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Wed, 21 Mar 2012 07:37:54 +0100 Subject: [PATCH] We don't really need deprecated private methods :) --- .../sk89q/worldedit/util/TreeGenerator.java | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/src/main/java/com/sk89q/worldedit/util/TreeGenerator.java b/src/main/java/com/sk89q/worldedit/util/TreeGenerator.java index 6ca6882e7..bb7eb9d1e 100644 --- a/src/main/java/com/sk89q/worldedit/util/TreeGenerator.java +++ b/src/main/java/com/sk89q/worldedit/util/TreeGenerator.java @@ -24,7 +24,6 @@ import java.util.HashMap; import java.util.Map; import java.util.Random; import com.sk89q.worldedit.EditSession; -import com.sk89q.worldedit.LocalWorld; import com.sk89q.worldedit.MaxChangedBlocksException; import com.sk89q.worldedit.Vector; import com.sk89q.worldedit.blocks.BaseBlock; @@ -144,23 +143,7 @@ public class TreeGenerator { return type.generate(editSession, pos); } - /** - * Generate a tree. - * - * @param type - * @param editSession - * @param pos - * @return - * @throws MaxChangedBlocksException - * @deprecated use {@link TreeType#generate(com.sk89q.worldedit.EditSession, com.sk89q.worldedit.Vector)} instead - */ - @Deprecated - private boolean generate(TreeType type, EditSession editSession, Vector pos) - throws MaxChangedBlocksException { - return type.generate(editSession, pos); - } - - /** + /** * Makes a terrible looking pine tree. * * @param basePos