mirror of
https://github.com/BentoBoxWorld/BSkyBlock.git
synced 2024-12-31 17:57:33 +01:00
Make variables final.
This commit is contained in:
parent
33a34aab44
commit
9707d98eb8
@ -29,7 +29,7 @@ public class BSkyBlock extends GameModeAddon implements Listener {
|
|||||||
// Settings
|
// Settings
|
||||||
private Settings settings;
|
private Settings settings;
|
||||||
private ChunkGeneratorWorld chunkGenerator;
|
private ChunkGeneratorWorld chunkGenerator;
|
||||||
private Config<Settings> configObject = new Config<>(this, Settings.class);
|
private final Config<Settings> configObject = new Config<>(this, Settings.class);
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onLoad() {
|
public void onLoad() {
|
||||||
|
@ -25,7 +25,7 @@ public class ChunkGeneratorWorld extends ChunkGenerator {
|
|||||||
|
|
||||||
private final BSkyBlock addon;
|
private final BSkyBlock addon;
|
||||||
private final Random rand = new Random();
|
private final Random rand = new Random();
|
||||||
private Map<Vector, Material> roofChunk = new HashMap<>();
|
private final Map<Vector, Material> roofChunk = new HashMap<>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param addon - addon
|
* @param addon - addon
|
||||||
|
Loading…
Reference in New Issue
Block a user