Correct misspellings of "transparent"
This commit is contained in:
@@ -34,7 +34,7 @@ public enum Varbits
|
||||
/*
|
||||
* If chatbox is transparent or not
|
||||
*/
|
||||
TRANSPARANT_CHATBOX(4608),
|
||||
TRANSPARENT_CHATBOX(4608),
|
||||
|
||||
/**
|
||||
* Runecraft pouches
|
||||
@@ -337,7 +337,7 @@ public enum Varbits
|
||||
GRAPES_4964(4964),
|
||||
|
||||
/**
|
||||
* Automatically weed farming patches
|
||||
* Automatically weed farming patches
|
||||
*/
|
||||
AUTOWEED(5557);
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ public class ChatMessageManager
|
||||
private final Map<ChatMessageType, Set<ChatColor>> colorCache = new HashMap<>();
|
||||
private final Provider<Client> clientProvider;
|
||||
private final ScheduledExecutorService executor;
|
||||
private int transparancyVarbit = -1;
|
||||
private int transparencyVarbit = -1;
|
||||
private final Queue<QueuedMessage> queuedMessages = new ConcurrentLinkedQueue<>();
|
||||
|
||||
@Inject
|
||||
@@ -69,11 +69,11 @@ public class ChatMessageManager
|
||||
@Subscribe
|
||||
public void onVarbitChanged(VarbitChanged event)
|
||||
{
|
||||
int setting = clientProvider.get().getSetting(Varbits.TRANSPARANT_CHATBOX);
|
||||
int setting = clientProvider.get().getSetting(Varbits.TRANSPARENT_CHATBOX);
|
||||
|
||||
if (transparancyVarbit != setting)
|
||||
if (transparencyVarbit != setting)
|
||||
{
|
||||
transparancyVarbit = setting;
|
||||
transparencyVarbit = setting;
|
||||
refreshAll();
|
||||
}
|
||||
}
|
||||
@@ -140,7 +140,7 @@ public class ChatMessageManager
|
||||
}
|
||||
|
||||
final Client client = clientProvider.get();
|
||||
final boolean transparent = client.isResized() && client.getSetting(Varbits.TRANSPARANT_CHATBOX) != 0;
|
||||
final boolean transparent = client.isResized() && client.getSetting(Varbits.TRANSPARENT_CHATBOX) != 0;
|
||||
final Set<ChatColor> chatColors = colorCache.get(target.getType());
|
||||
|
||||
// If we do not have any colors cached, simply set clean message
|
||||
|
||||
Reference in New Issue
Block a user