Makes a bunch of instance variables final

This commit is contained in:
2023-06-23 21:39:50 +02:00
parent 645d59d06e
commit a52f736c74
106 changed files with 109 additions and 109 deletions

View File

@@ -32,7 +32,7 @@ public class EngineCanCombatHappen extends Engine {
// INSTANCE & CONSTRUCT
// -------------------------------------------- //
private static EngineCanCombatHappen i = new EngineCanCombatHappen();
private static final EngineCanCombatHappen i = new EngineCanCombatHappen();
public static EngineCanCombatHappen get() {
return i;

View File

@@ -27,7 +27,7 @@ public class EngineChat extends Engine {
// INSTANCE & CONSTRUCT
// -------------------------------------------- //
private static EngineChat i = new EngineChat();
private static final EngineChat i = new EngineChat();
public static EngineChat get() {
return i;

View File

@@ -30,7 +30,7 @@ public class EngineChunkChange extends Engine {
// INSTANCE & CONSTRUCT
// -------------------------------------------- //
private static EngineChunkChange i = new EngineChunkChange();
private static final EngineChunkChange i = new EngineChunkChange();
public static EngineChunkChange get() {
return i;

View File

@@ -17,7 +17,7 @@ public class EngineCleanInactivity extends Engine {
// INSTANCE & CONSTRUCT
// -------------------------------------------- //
private static EngineCleanInactivity i = new EngineCleanInactivity();
private static final EngineCleanInactivity i = new EngineCleanInactivity();
public static EngineCleanInactivity get() {
return i;

View File

@@ -22,7 +22,7 @@ public class EngineDenyCommands extends Engine {
// INSTANCE & CONSTRUCT
// -------------------------------------------- //
private static EngineDenyCommands i = new EngineDenyCommands();
private static final EngineDenyCommands i = new EngineDenyCommands();
public static EngineDenyCommands get() {
return i;

View File

@@ -25,7 +25,7 @@ public class EngineDenyTeleport extends Engine {
// INSTANCE & CONSTRUCT
// -------------------------------------------- //
private static EngineDenyTeleport i = new EngineDenyTeleport();
private static final EngineDenyTeleport i = new EngineDenyTeleport();
public static EngineDenyTeleport get() {
return i;

View File

@@ -39,7 +39,7 @@ public class EngineEcon extends Engine {
// INSTANCE & CONSTRUCT
// -------------------------------------------- //
private static EngineEcon i = new EngineEcon();
private static final EngineEcon i = new EngineEcon();
public static EngineEcon get() {
return i;

View File

@@ -26,7 +26,7 @@ public class EngineExploit extends Engine {
// INSTANCE & CONSTRUCT
// -------------------------------------------- //
private static EngineExploit i = new EngineExploit();
private static final EngineExploit i = new EngineExploit();
public static EngineExploit get() {
return i;
@@ -104,7 +104,7 @@ public class EngineExploit extends Engine {
private static final int NETHER_TRAP_RADIUS_CHECK = 5;
private static final int NETHER_TRAP_RESET_RADIUS_SQUARED = 9;
private HashMap<UUID, List<Block>> portalTraps = new HashMap<>();
private final HashMap<UUID, List<Block>> portalTraps = new HashMap<>();
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
public void portalTrapRemoveAnimation(PlayerTeleportEvent event) {

View File

@@ -16,7 +16,7 @@ public class EngineFlagEndergrief extends Engine {
// INSTANCE & CONSTRUCT
// -------------------------------------------- //
private static EngineFlagEndergrief i = new EngineFlagEndergrief();
private static final EngineFlagEndergrief i = new EngineFlagEndergrief();
public static EngineFlagEndergrief get() {
return i;

View File

@@ -32,7 +32,7 @@ public class EngineFlagExplosion extends Engine {
// INSTANCE & CONSTRUCT
// -------------------------------------------- //
private static EngineFlagExplosion i = new EngineFlagExplosion();
private static final EngineFlagExplosion i = new EngineFlagExplosion();
public static EngineFlagExplosion get() {
return i;

View File

@@ -20,7 +20,7 @@ public class EngineFlagFireSpread extends Engine {
// INSTANCE & CONSTRUCT
// -------------------------------------------- //
private static EngineFlagFireSpread i = new EngineFlagFireSpread();
private static final EngineFlagFireSpread i = new EngineFlagFireSpread();
public static EngineFlagFireSpread get() {
return i;

View File

@@ -21,7 +21,7 @@ public class EngineFlagSpawn extends Engine {
// INSTANCE & CONSTRUCT
// -------------------------------------------- //
private static EngineFlagSpawn i = new EngineFlagSpawn();
private static final EngineFlagSpawn i = new EngineFlagSpawn();
public static EngineFlagSpawn get() {
return i;

View File

@@ -16,7 +16,7 @@ public class EngineFlagZombiegrief extends Engine {
// INSTANCE & CONSTRUCT
// -------------------------------------------- //
private static EngineFlagZombiegrief i = new EngineFlagZombiegrief();
private static final EngineFlagZombiegrief i = new EngineFlagZombiegrief();
public static EngineFlagZombiegrief get() {
return i;

View File

@@ -30,7 +30,7 @@ public class EngineFly extends Engine {
// INSTANCE & CONSTRUCT
// -------------------------------------------- //
private static EngineFly i = new EngineFly();
private static final EngineFly i = new EngineFly();
public static EngineFly get() {
return i;

View File

@@ -16,7 +16,7 @@ public class EngineLastActivity extends Engine {
// INSTANCE & CONSTRUCT
// -------------------------------------------- //
private static EngineLastActivity i = new EngineLastActivity();
private static final EngineLastActivity i = new EngineLastActivity();
public static EngineLastActivity get() {
return i;

View File

@@ -21,7 +21,7 @@ public class EngineMotd extends Engine {
// INSTANCE & CONSTRUCT
// -------------------------------------------- //
private static EngineMotd i = new EngineMotd();
private static final EngineMotd i = new EngineMotd();
public static EngineMotd get() {
return i;

View File

@@ -24,7 +24,7 @@ public class EngineMoveChunk extends Engine {
// INSTANCE & CONSTRUCT
// -------------------------------------------- //
private static EngineMoveChunk i = new EngineMoveChunk();
private static final EngineMoveChunk i = new EngineMoveChunk();
public static EngineMoveChunk get() {
return i;

View File

@@ -53,7 +53,7 @@ public class EnginePermBuild extends Engine {
// INSTANCE & CONSTRUCT
// -------------------------------------------- //
private static EnginePermBuild i = new EnginePermBuild();
private static final EnginePermBuild i = new EnginePermBuild();
public static EnginePermBuild get() {
return i;

View File

@@ -14,7 +14,7 @@ public class EnginePlayerData extends Engine {
// INSTANCE & CONSTRUCT
// -------------------------------------------- //
private static EnginePlayerData i = new EnginePlayerData();
private static final EnginePlayerData i = new EnginePlayerData();
public static EnginePlayerData get() {
return i;

View File

@@ -21,7 +21,7 @@ public class EnginePower extends Engine {
// INSTANCE & CONSTRUCT
// -------------------------------------------- //
private static EnginePower i = new EnginePower();
private static final EnginePower i = new EnginePower();
public static EnginePower get() {
return i;

View File

@@ -24,7 +24,7 @@ public class EngineSeeChunk extends Engine {
// INSTANCE & CONSTRUCT
// -------------------------------------------- //
private static EngineSeeChunk i = new EngineSeeChunk();
private static final EngineSeeChunk i = new EngineSeeChunk();
public static EngineSeeChunk get() {
return i;

View File

@@ -56,7 +56,7 @@ public class EngineShow extends Engine {
// INSTANCE & CONSTRUCT
// -------------------------------------------- //
private static EngineShow i = new EngineShow();
private static final EngineShow i = new EngineShow();
public static EngineShow get() {
return i;

View File

@@ -19,7 +19,7 @@ public class EngineTeleportHomeOnDeath extends Engine {
// INSTANCE & CONSTRUCT
// -------------------------------------------- //
private static EngineTeleportHomeOnDeath i = new EngineTeleportHomeOnDeath();
private static final EngineTeleportHomeOnDeath i = new EngineTeleportHomeOnDeath();
public static EngineTeleportHomeOnDeath get() {
return i;

View File

@@ -17,7 +17,7 @@ public class EngineTerritoryShield extends Engine {
// INSTANCE & CONSTRUCT
// -------------------------------------------- //
private static EngineTerritoryShield i = new EngineTerritoryShield();
private static final EngineTerritoryShield i = new EngineTerritoryShield();
public static EngineTerritoryShield get() {
return i;

View File

@@ -12,7 +12,7 @@ public class EngineVisualizations extends Engine {
// INSTANCE & CONSTRUCT
// -------------------------------------------- //
private static EngineVisualizations i = new EngineVisualizations();
private static final EngineVisualizations i = new EngineVisualizations();
public static EngineVisualizations get() {
return i;