diff --git a/src/main/java/org/arsparadox/mobtalkerredux/vn/controller/VisualNovelEngine.java b/src/main/java/org/arsparadox/mobtalkerredux/vn/controller/VisualNovelEngine.java index 01e978d..fd6dca0 100644 --- a/src/main/java/org/arsparadox/mobtalkerredux/vn/controller/VisualNovelEngine.java +++ b/src/main/java/org/arsparadox/mobtalkerredux/vn/controller/VisualNovelEngine.java @@ -65,9 +65,11 @@ private void processAction(Map action) { removeSprite((String) action.get("sprite"), this); return; case "dialogue": + String sound = (String) action.get("voice"); updateDialogue( (String) action.get("label"), (String) action.get("content"), + (String) action.get("voice"), this); return; case "modify_variable": diff --git a/src/main/java/org/arsparadox/mobtalkerredux/vn/controller/vnmodules/StateHandler.java b/src/main/java/org/arsparadox/mobtalkerredux/vn/controller/vnmodules/StateHandler.java index 65e12c3..7616c6a 100644 --- a/src/main/java/org/arsparadox/mobtalkerredux/vn/controller/vnmodules/StateHandler.java +++ b/src/main/java/org/arsparadox/mobtalkerredux/vn/controller/vnmodules/StateHandler.java @@ -26,10 +26,13 @@ public static Map getDictById(long targetId, List