Fix some typos
This commit is contained in:
@@ -48,7 +48,7 @@ public class CommandManager
|
||||
{
|
||||
private static final String RUNELITE_COMMAND = "runeliteCommand";
|
||||
private static final String CHATBOX_INPUT = "chatboxInput";
|
||||
private static final String PRIVMATE_MESSAGE = "privateMessage";
|
||||
private static final String PRIVATE_MESSAGE = "privateMessage";
|
||||
|
||||
private final Client client;
|
||||
private final EventBus eventBus;
|
||||
@@ -91,7 +91,7 @@ public class CommandManager
|
||||
case CHATBOX_INPUT:
|
||||
handleInput(event);
|
||||
break;
|
||||
case PRIVMATE_MESSAGE:
|
||||
case PRIVATE_MESSAGE:
|
||||
handlePrivateMessage(event);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ public @interface ConfigGroup
|
||||
{
|
||||
/**
|
||||
* The key name of the config group used for storing configuration within the config group.
|
||||
* This should typically be a lowercased version of your plugin name, with all spaces removed.
|
||||
* This should typically be a lowercase version of your plugin name, with all spaces removed.
|
||||
* <p>
|
||||
* For example, the {@code Grand Exchange} plugin uses the key name {@code grandexchange}.
|
||||
*/
|
||||
|
||||
@@ -124,7 +124,7 @@ class ConfigInvocationHandler implements InvocationHandler
|
||||
|
||||
if (args.length != 1)
|
||||
{
|
||||
throw new RuntimeException("Invalid number of arguents to configuration method");
|
||||
throw new RuntimeException("Invalid number of arguments to configuration method");
|
||||
}
|
||||
|
||||
Object newValue = args[0];
|
||||
|
||||
@@ -47,7 +47,7 @@ public class Keybind
|
||||
.put(InputEvent.META_DOWN_MASK, KeyEvent.VK_META)
|
||||
.build();
|
||||
|
||||
// Bitmask of all supported modifers
|
||||
// Bitmask of all supported modifiers
|
||||
private static final int KEYBOARD_MODIFIER_MASK = MODIFIER_TO_KEY_CODE.keySet().stream()
|
||||
.reduce((a, b) -> a | b).get();
|
||||
|
||||
@@ -65,7 +65,7 @@ public class Keybind
|
||||
modifiers &= KEYBOARD_MODIFIER_MASK;
|
||||
|
||||
// If the keybind is just modifiers we don't want the keyCode to contain the modifier too,
|
||||
// becasue this breaks if you do the keycode backwards
|
||||
// because this breaks if you do the keycode backwards
|
||||
Integer mf = getModifierForKeyCode(keyCode);
|
||||
if (mf != null)
|
||||
{
|
||||
|
||||
@@ -161,7 +161,7 @@ public class LootManager
|
||||
final LocalPoint location = tile.getLocalLocation();
|
||||
final int packed = location.getSceneX() << 8 | location.getSceneY();
|
||||
itemSpawns.put(packed, new ItemStack(item.getId(), item.getQuantity(), location));
|
||||
log.debug("Item spawn {} ({}) location {},{}", item.getId(), item.getQuantity(), location);
|
||||
log.debug("Item spawn {} ({}) location {}", item.getId(), item.getQuantity(), location);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@@ -169,7 +169,7 @@ public class LootManager
|
||||
{
|
||||
final TileItem item = itemDespawned.getItem();
|
||||
final LocalPoint location = itemDespawned.getTile().getLocalLocation();
|
||||
log.debug("Item despawn {} ({}) location {},{}", item.getId(), item.getQuantity(), location);
|
||||
log.debug("Item despawn {} ({}) location {}", item.getId(), item.getQuantity(), location);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
|
||||
@@ -21,7 +21,8 @@
|
||||
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/package net.runelite.client.plugins.achievementdiary;
|
||||
*/
|
||||
package net.runelite.client.plugins.achievementdiary;
|
||||
|
||||
public interface Requirement
|
||||
{
|
||||
|
||||
@@ -75,10 +75,10 @@ public class ColorUtil
|
||||
}
|
||||
|
||||
/**
|
||||
* Converts a given color to it's hexidecimal equivalent.
|
||||
* Converts a given color to it's hexadecimal equivalent.
|
||||
*
|
||||
* @param color Color to get hexidecimal string from.
|
||||
* @return Hexidecimal string representing the given color, in the form "#abcdef".
|
||||
* @param color Color to get hexadecimal string from.
|
||||
* @return Hexadecimal string representing the given color, in the form "#abcdef".
|
||||
*/
|
||||
public static String toHexColor(final Color color)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user