spellbook: Final fields
This commit is contained in:
@@ -41,9 +41,9 @@ import net.runelite.client.ui.overlay.OverlayPriority;
|
|||||||
@Singleton
|
@Singleton
|
||||||
public class SpellbookDragOverlay extends Overlay
|
public class SpellbookDragOverlay extends Overlay
|
||||||
{
|
{
|
||||||
private SpellbookPlugin plugin;
|
private final SpellbookPlugin plugin;
|
||||||
private Client client;
|
private final Client client;
|
||||||
private SpriteManager spriteManager;
|
private final SpriteManager spriteManager;
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
private SpellbookDragOverlay(final SpellbookPlugin plugin, final Client client, final SpriteManager spriteManager)
|
private SpellbookDragOverlay(final SpellbookPlugin plugin, final Client client, final SpriteManager spriteManager)
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ public class SpellbookPlugin extends Plugin
|
|||||||
@Getter
|
@Getter
|
||||||
private Point draggingLocation;
|
private Point draggingLocation;
|
||||||
|
|
||||||
private Map<Integer, Spell> spells = new HashMap<>();
|
private final Map<Integer, Spell> spells = new HashMap<>();
|
||||||
private Map<Integer, Spell> tmp = null;
|
private Map<Integer, Spell> tmp = null;
|
||||||
private ImmutableSet<String> notFilteredSpells;
|
private ImmutableSet<String> notFilteredSpells;
|
||||||
private Spellbook spellbook;
|
private Spellbook spellbook;
|
||||||
|
|||||||
Reference in New Issue
Block a user