Skip to content

Commit 342e979

Browse files
committed
Fixed NoSuchMethod exception in net.minecraft.server.MinecraftServer.getCommandManager(). #5.
Signed-off-by: Pavel Erokhin (MairwunNx) <[email protected]>
1 parent 4149631 commit 342e979

File tree

6 files changed

+13
-7
lines changed

6 files changed

+13
-7
lines changed

changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [1.14.4-1.0.5] - 2020-03-22
10+
11+
### Fixed
12+
- #5. `java.lang.NoSuchMethodError` in `net.minecraft.server.MinecraftServer.getCommandManager()`
13+
914
## [1.14.4-1.0.4] - 2020-03-13
1015

1116
### Added

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ project_jvm_version_target=1.8
1414
kotlin_version=1.3.70
1515
kotlinx_serialization_version=0.20.0
1616
dokka_version=0.10.1
17-
module_version=1.14.4-1.0.4
17+
module_version=1.14.4-1.0.5
1818
module_name=Project Essentials Cooldown
1919
module_id=project_essentials_cooldown
2020
module_vendor=MairwunNx (Pavel Erokhin)

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ You can also use the API, for example, as a delay in the use of an item or the l
1010

1111
### One more step
1212

13-
#### [Download mod](https://github.com/ProjectEssentials/ProjectEssentials-Cooldown/releases/download/v1.14.4-1.0.4/Project.Essentials.Cooldown-1.14.4-1.0.4.jar) · [How to install](https://mairwunnx.gitbook.io/project-essentials/project-essentials-cooldown#how-to-install) · [Commands](https://mairwunnx.gitbook.io/project-essentials/project-essentials-cooldown#commands) · [Configuration](https://mairwunnx.gitbook.io/project-essentials/project-essentials-cooldown#configuration) · [API Usage](https://mairwunnx.gitbook.io/project-essentials/project-essentials-cooldown#applying-aliases) · [Troubleshooting](https://github.com/ProjectEssentials/ProjectEssentials-Cooldown/issues/new/choose) · [Change log](./changelog.md)
13+
#### [Download mod](https://github.com/ProjectEssentials/ProjectEssentials-Cooldown/releases/download/v1.14.4-1.0.5/Project.Essentials.Cooldown-1.14.4-1.0.5.jar) · [How to install](https://mairwunnx.gitbook.io/project-essentials/project-essentials-cooldown#how-to-install) · [Commands](https://mairwunnx.gitbook.io/project-essentials/project-essentials-cooldown#commands) · [Configuration](https://mairwunnx.gitbook.io/project-essentials/project-essentials-cooldown#configuration) · [API Usage](https://mairwunnx.gitbook.io/project-essentials/project-essentials-cooldown#applying-aliases) · [Troubleshooting](https://github.com/ProjectEssentials/ProjectEssentials-Cooldown/issues/new/choose) · [Change log](./changelog.md)
1414

1515
<a href="https://ko-fi.com/mairwunnx" target="_blank"><img src="./assets/support_social.png"></a>
1616

src/main/kotlin/com/mairwunnx/projectessentials/cooldown/EntryPoint.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ internal class EntryPoint : EssBase() {
2222

2323
init {
2424
modInstance = this
25-
modVersion = "1.14.4-1.0.4"
25+
modVersion = "1.14.4-1.0.5"
2626
logBaseInfo()
2727
validateForgeVersion()
2828
MinecraftForge.EVENT_BUS.register(this)
@@ -61,7 +61,7 @@ internal class EntryPoint : EssBase() {
6161
@SubscribeEvent
6262
fun onServerStarting(it: FMLServerStartingEvent) {
6363
loadAdditionalModules()
64-
CooldownCommand.register(it.server.commandManager.dispatcher)
64+
CooldownCommand.register(it.commandDispatcher)
6565
}
6666

6767
@SubscribeEvent(priority = EventPriority.HIGH)

src/main/resources/META-INF/mods.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ issueTrackerURL="https://github.com/ProjectEssentials/ProjectEssentials-Cooldown
44

55
[[mods]]
66
modId="project_essentials_cooldown"
7-
version="1.14.4-1.0.4"
7+
version="1.14.4-1.0.5"
88
displayName="Project Essentials Cooldown"
99
updateJSONURL="https://raw.githubusercontent.com/ProjectEssentials/ProjectEssentials-Cooldown/MC-1.14.4/update.json"
1010
displayURL="https://github.com/ProjectEssentials/ProjectEssentials-Cooldown"

update.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
{
22
"homepage": "https://github.com/ProjectEssentials/ProjectEssentials-Cooldown",
33
"1.14.4": {
4+
"1.14.4-1.0.5": "Changelog for 1.0.5 https://github.com/ProjectEssentials/ProjectEssentials-Cooldown/blob/MC-1.14.4/changelog.md#1144-105---2020-03-22",
45
"1.14.4-1.0.4": "Changelog for 1.0.4 https://github.com/ProjectEssentials/ProjectEssentials-Cooldown/blob/MC-1.14.4/changelog.md#1144-104---2020-03-13",
56
"1.14.4-1.0.3": "Changelog for 1.0.3 https://github.com/ProjectEssentials/ProjectEssentials-Cooldown/blob/MC-1.14.4/changelog.md#1144-103---2020-02-08",
67
"1.14.4-1.0.2.0": " - Added curseforge link in `/cooldown about` command.\n - Simplified code for creating directory.\n - Removed redundant information logging.\n - Usings optimal JsonConfiguration from core module.\n - Debug information now prints in debug log, not info.\n - Now cooldown module not depends on Permissions module.\n - Simplified cooldown commands.\n - Updated essentials core dependency.\n - Added german translations by @BixelPitch\n - Removed java plugin from build script.\n - Removed permissions from mandatory dependencies.\n - Package name fixed. [BREAKING CHANGES!]\n - Updated gradle wrapper to 5.6.4.\n - Gradle file cleanup.\n - Updated version number.",
78
"1.14.4-1.0.1.0": " - Fixed bug with not synchronizing cooldowns for command and command aliases.",
89
"1.14.4-1.0.0.0": " - Initial release of CooldownAPI as Project Essentials part."
910
},
1011
"promos": {
11-
"1.14.4-latest": "1.14.4-1.0.4",
12-
"1.14.4-recommended": "1.14.4-1.0.4"
12+
"1.14.4-latest": "1.14.4-1.0.5",
13+
"1.14.4-recommended": "1.14.4-1.0.5"
1314
}
1415
}

0 commit comments

Comments
 (0)