aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/rosegoldaddons/features/SwordSwapping.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/rosegoldaddons/features/SwordSwapping.java')
-rw-r--r--src/main/java/rosegoldaddons/features/SwordSwapping.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/rosegoldaddons/features/SwordSwapping.java b/src/main/java/rosegoldaddons/features/SwordSwapping.java
index 099b9d7..4a309f0 100644
--- a/src/main/java/rosegoldaddons/features/SwordSwapping.java
+++ b/src/main/java/rosegoldaddons/features/SwordSwapping.java
@@ -20,7 +20,7 @@ public class SwordSwapping {
public static void rightClick() {
try {
- Method rightClickMouse = null;
+ Method rightClickMouse;
try {
rightClickMouse = Minecraft.class.getDeclaredMethod("rightClickMouse");
} catch (NoSuchMethodException e) {