Delete protected Random instance from LocalWorld.

This commit is contained in:
sk89q 2014-07-15 12:13:57 -07:00
parent 1f709b9cc3
commit 9dbc53476e

View File

@ -19,13 +19,11 @@
package com.sk89q.worldedit; package com.sk89q.worldedit;
import com.sk89q.worldedit.blocks.*; import com.sk89q.worldedit.blocks.BaseBlock;
import com.sk89q.worldedit.util.TreeGenerator; import com.sk89q.worldedit.util.TreeGenerator;
import com.sk89q.worldedit.world.AbstractWorld; import com.sk89q.worldedit.world.AbstractWorld;
import com.sk89q.worldedit.world.World; import com.sk89q.worldedit.world.World;
import java.util.Random;
/** /**
* A legacy abstract implementation of {@link World}. New implementations * A legacy abstract implementation of {@link World}. New implementations
* should use {@link AbstractWorld} when possible. * should use {@link AbstractWorld} when possible.
@ -53,13 +51,6 @@ public abstract class LocalWorld extends AbstractWorld {
} }
} }
/**
* @deprecated Don't use this anymore. It will be removed
*/
@SuppressWarnings("ProtectedField")
@Deprecated
protected Random random = new Random();
@Override @Override
public BaseBlock getLazyBlock(Vector position) { public BaseBlock getLazyBlock(Vector position) {
return getBlock(position); return getBlock(position);