mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Delete protected Random instance from LocalWorld.
This commit is contained in:
parent
1f709b9cc3
commit
9dbc53476e
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user