Skip to content

Commit fdfbc13

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

File tree

6 files changed

+14
-8
lines changed

6 files changed

+14
-8
lines changed

changelog.md

+5
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.15.2-1.0.2] - 2020-03-22
10+
11+
### Fixed
12+
- #5. `java.lang.NoSuchMethodError` in `net.minecraft.server.MinecraftServer.getCommandManager()`
13+
914
## [1.15.2-1.0.1] - 2020-03-13
1015

1116
### Added

gradle.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ 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.15.2-1.0.1
17+
module_version=1.15.2-1.0.2
1818
module_name=Project Essentials Cooldown
1919
module_id=project_essentials_cooldown
2020
module_vendor=MairwunNx (Pavel Erokhin)
21-
package_public_token=4096fd4ac93bbc65b17d1d9abbd1d84280bef2ce
21+
package_public_token=ZDhjMjgyNjlhM2E0ZTQ0MmM2Mjk5ZWI4YmMyZjI0YzNjOTNkMDVkZA==

readme.md

+1-1
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.15.2-1.0.1/Project.Essentials.Cooldown-1.15.2-1.0.1.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.15.2-1.0.2/Project.Essentials.Cooldown-1.15.2-1.0.2.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

+2-2
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.15.2-1.0.1"
25+
modVersion = "1.15.2-1.0.2"
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

+1-1
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.15.2-1.0.1"
7+
version="1.15.2-1.0.2"
88
displayName="Project Essentials Cooldown"
99
updateJSONURL="https://raw.githubusercontent.com/ProjectEssentials/ProjectEssentials-Cooldown/MC-1.15.2/update.json"
1010
displayURL="https://github.com/ProjectEssentials/ProjectEssentials-Cooldown"

update.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"homepage": "https://github.com/ProjectEssentials/ProjectEssentials-Cooldown",
33
"1.15.2": {
4+
"1.15.2-1.0.2": "Changelog for 1.0.2 https://github.com/ProjectEssentials/ProjectEssentials-Cooldown/blob/MC-1.15.2/changelog.md#1152-102---2020-03-22",
45
"1.15.2-1.0.1": "Changelog for 1.0.1 https://github.com/ProjectEssentials/ProjectEssentials-Cooldown/blob/MC-1.15.2/changelog.md#1152-101---2020-03-13",
56
"1.15.2-1.0.0": "Changelog for 1.0.0 https://github.com/ProjectEssentials/ProjectEssentials-Cooldown/blob/MC-1.15.2/changelog.md#1152-100---2020-02-07"
67
},
78
"promos": {
8-
"1.15.2-latest": "1.15.2-1.0.1",
9-
"1.15.2-recommended": "1.15.2-1.0.1"
9+
"1.15.2-latest": "1.15.2-1.0.2",
10+
"1.15.2-recommended": "1.15.2-1.0.2"
1011
}
1112
}

0 commit comments

Comments
 (0)