Make variables final.

This commit is contained in:
tastybento 2021-05-31 16:08:23 -07:00
parent 33a34aab44
commit 9707d98eb8
2 changed files with 2 additions and 2 deletions

View File

@ -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() {

View File

@ -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