Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions common/src/main/java/io/github/kurrycat/mpkmod/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ public class Main implements MPKModule {
)
public static boolean highlightLandingBlocks = true;

@Option.Field(
category = "debug",
displayName = "Copy Position Shortcut",
description = "Whether to override the vanilla F3+C shortcut to copy your precise position"
)
public static boolean copyPositionShortcutEnabled = true;

@Override
public void init() {
infoTree = InfoString.createInfoTree();
Expand Down Expand Up @@ -105,6 +112,8 @@ public void loaded() {
ModuleManager.reloadAllModules();
}
} else if (event.keyCode == InputConstants.KEY_C) {
if (!copyPositionShortcutEnabled) return;

if (Player.getLatest() == null) return;
Player p = Player.getLatest();
Minecraft.copyToClipboard(
Expand Down
Loading