Skip to content

Commit

Permalink
fix: #144 migrated event to correct bus.
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelHillcox committed Jul 28, 2020
1 parent fb53127 commit 2b65515
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions gradle.properties
Expand Up @@ -2,9 +2,9 @@
# This is required to provide enough memory for the Minecraft decompilation process.
org.gradle.jvmargs=-Xmx3G

mod_version=2.3.1
mod_version=2.3.2
game_version=1.16.1

# Forge
forge_version=32.0.66
forge_version=32.0.93
forge_mappings=20200712-1.16.1
2 changes: 1 addition & 1 deletion src/main/java/com/xray/XRay.java
Expand Up @@ -47,9 +47,9 @@ public XRay() {

eventBus.addListener(this::onSetup);
eventBus.addListener(this::onLoadComplete);
eventBus.addListener(this::onExit);

ModLoadingContext.get().registerConfig(ModConfig.Type.CLIENT, Configuration.SPEC);
MinecraftForge.EVENT_BUS.addListener(this::onExit);

// Keybindings
MinecraftForge.EVENT_BUS.register(KeyBindings.class);
Expand Down
5 changes: 3 additions & 2 deletions versions.json
@@ -1,6 +1,7 @@
{
"homepage": "https://github.com/MichaelHillcox/XRay-Mod",
"1.16.1": {
"1.16.1-r2.3.2": "See https://github.com/MichaelHillcox/XRay-Mod/releases/tag/1.16.1-v2.3.2",
"1.16.1-r2.3.1": "See https://github.com/MichaelHillcox/XRay-Mod/releases/tag/1.16.1-v2.3.1",
"1.16.1-r2.3.0": "See https://github.com/MichaelHillcox/XRay-Mod/releases/tag/1.16.1-v2.3.0"
},
Expand Down Expand Up @@ -59,8 +60,8 @@
"r1.0.7": "See https://github.com/MichaelHillcox/XRay-Mod/releases/tag/1.0.1.75"
},
"promos": {
"1.16.1-latest": "1.16.1-r2.3.1",
"1.16.1-recommended": "1.16.1-r2.3.1",
"1.16.1-latest": "1.16.1-r2.3.2",
"1.16.1-recommended": "1.16.1-r2.3.2",
"1.15.2-latest": "1.15.2-r2.2.0",
"1.15.2-recommended": "1.15.2-r2.2.0",
"1.15.1-latest": "1.15.1-r2.1.0",
Expand Down

0 comments on commit 2b65515

Please sign in to comment.