Skip to content
Snippets Groups Projects
Commit f5d64d23 authored by NikolaBabic's avatar NikolaBabic
Browse files

Fixed modifier value not being passed

parent a2edfbe4
No related branches found
No related tags found
1 merge request!45Prototype to Master for Milestone 5
......@@ -17,7 +17,7 @@ public class addHotkey extends CommandStatus {
* @param key The key of the hotkey we are making
*/
public void AddHotkey(String name, int id, Modifier mod, int key){
Hotkey add = new Hotkey(key,id,mod);
Hotkey add = new Hotkey(key,id,mod.val());
if(!profileDatabase.database().containsKey(name)){
successful = false;
errorMessage = "Profile with name " + name + " does not exist";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment