Skip to content

Commit d4a4a79

Browse files
Mild Cleanup, and preperation for next version
1 parent 42465c3 commit d4a4a79

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

src/main/java/com/codingpupper3033/codebtekml/KeyInit.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
* Binds the key binds of the mod
99
*/
1010
public final class KeyInit {
11-
public static KeyBinding openKMLMenuKeyBind;
11+
public static KeyBinding openKMLMenuKeybind;
1212

1313
public static void init() {
14-
openKMLMenuKeyBind = registerKey("Open KMZ Menu", "BTE KML", Keyboard.KEY_PERIOD);
14+
openKMLMenuKeybind = registerKey("Open KMZ Menu", "BTE KML", Keyboard.KEY_PERIOD);
1515
}
1616

1717
public static KeyBinding registerKey(String name, String category, int keycode) {

src/main/java/com/codingpupper3033/codebtekml/events/KeyPressed.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class KeyPressed {
1515
public void clientTick(ClientTickEvent event) {
1616
if (Minecraft.getMinecraft().currentScreen == null) { // Keystrokes that only work on the default game menu
1717
// Open KML Menu
18-
if (KeyInit.openKMLMenuKeyBind.isPressed()) Minecraft.getMinecraft().displayGuiScreen(new GuiDrawKML(null));
18+
if (KeyInit.openKMLMenuKeybind.isPressed()) Minecraft.getMinecraft().displayGuiScreen(new GuiDrawKML(null));
1919
}
2020
}
2121
}

src/main/java/com/codingpupper3033/codebtekml/gui/screens/GuiDrawKML.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ protected void keyTyped(char typedChar, int keyCode) throws IOException {
198198

199199
// ------
200200
if (!fileNameTextBox.isFocused() && !blockNameTextBox.isFocused()) { // Not selecting any box
201-
if (keyCode == KeyInit.openKMLMenuKeyBind.getKeyCode()) { // Close
201+
if (keyCode == KeyInit.openKMLMenuKeybind.getKeyCode()) { // Close
202202
close();
203203
}
204204

src/main/java/com/codingpupper3033/codebtekml/helpers/map/Placemark.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ public Placemark(Element element) {
1616

1717
}
1818

19+
//public abstract Coordinate[] getCoordinates();
20+
1921
/**
2022
* Should draw the placemark into the game
2123
* @param blockName

0 commit comments

Comments
 (0)