mirror of
https://github.com/BentoBoxWorld/BSkyBlock.git
synced 2024-12-28 17:27:35 +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
|
||||
private Settings settings;
|
||||
private ChunkGeneratorWorld chunkGenerator;
|
||||
private Config<Settings> configObject = new Config<>(this, Settings.class);
|
||||
private final Config<Settings> configObject = new Config<>(this, Settings.class);
|
||||
|
||||
@Override
|
||||
public void onLoad() {
|
||||
|
@ -25,7 +25,7 @@ public class ChunkGeneratorWorld extends ChunkGenerator {
|
||||
|
||||
private final BSkyBlock addon;
|
||||
private final Random rand = new Random();
|
||||
private Map<Vector, Material> roofChunk = new HashMap<>();
|
||||
private final Map<Vector, Material> roofChunk = new HashMap<>();
|
||||
|
||||
/**
|
||||
* @param addon - addon
|
||||
|
Loading…
Reference in New Issue
Block a user