aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/sk89q/warmroast/McpMapping.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/sk89q/warmroast/McpMapping.java')
-rw-r--r--src/main/java/com/sk89q/warmroast/McpMapping.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/com/sk89q/warmroast/McpMapping.java b/src/main/java/com/sk89q/warmroast/McpMapping.java
index 5ef2ff9..2e8b681 100644
--- a/src/main/java/com/sk89q/warmroast/McpMapping.java
+++ b/src/main/java/com/sk89q/warmroast/McpMapping.java
@@ -59,6 +59,10 @@ public class McpMapping {
processMethods(lines);
}
+ public String mapMethodId(String id) {
+ return methods.get(id);
+ }
+
public String fromMethodId(String id) {
String method = methods.get(id);
if (method == null) {