Skip to content

Commit

Permalink
Fixed NoSuchMethod exception in `net.minecraft.server.MinecraftServer…
Browse files Browse the repository at this point in the history
….getCommandManager()`. #5.

Signed-off-by: Pavel Erokhin (MairwunNx) <[email protected]>
  • Loading branch information
MairwunNx committed Mar 22, 2020
1 parent 00834ee commit fdfbc13
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 8 deletions.
5 changes: 5 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.15.2-1.0.2] - 2020-03-22

### Fixed
- #5. `java.lang.NoSuchMethodError` in `net.minecraft.server.MinecraftServer.getCommandManager()`

## [1.15.2-1.0.1] - 2020-03-13

### Added
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ project_jvm_version_target=1.8
kotlin_version=1.3.70
kotlinx_serialization_version=0.20.0
dokka_version=0.10.1
module_version=1.15.2-1.0.1
module_version=1.15.2-1.0.2
module_name=Project Essentials Cooldown
module_id=project_essentials_cooldown
module_vendor=MairwunNx (Pavel Erokhin)
package_public_token=4096fd4ac93bbc65b17d1d9abbd1d84280bef2ce
package_public_token=ZDhjMjgyNjlhM2E0ZTQ0MmM2Mjk5ZWI4YmMyZjI0YzNjOTNkMDVkZA==
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ You can also use the API, for example, as a delay in the use of an item or the l

### One more step

#### [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)
#### [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)

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ internal class EntryPoint : EssBase() {

init {
modInstance = this
modVersion = "1.15.2-1.0.1"
modVersion = "1.15.2-1.0.2"
logBaseInfo()
validateForgeVersion()
MinecraftForge.EVENT_BUS.register(this)
Expand Down Expand Up @@ -61,7 +61,7 @@ internal class EntryPoint : EssBase() {
@SubscribeEvent
fun onServerStarting(it: FMLServerStartingEvent) {
loadAdditionalModules()
CooldownCommand.register(it.server.commandManager.dispatcher)
CooldownCommand.register(it.commandDispatcher)
}

@SubscribeEvent(priority = EventPriority.HIGH)
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ issueTrackerURL="https://github.com/ProjectEssentials/ProjectEssentials-Cooldown

[[mods]]
modId="project_essentials_cooldown"
version="1.15.2-1.0.1"
version="1.15.2-1.0.2"
displayName="Project Essentials Cooldown"
updateJSONURL="https://raw.githubusercontent.com/ProjectEssentials/ProjectEssentials-Cooldown/MC-1.15.2/update.json"
displayURL="https://github.com/ProjectEssentials/ProjectEssentials-Cooldown"
Expand Down
5 changes: 3 additions & 2 deletions update.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"homepage": "https://github.com/ProjectEssentials/ProjectEssentials-Cooldown",
"1.15.2": {
"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",
"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",
"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"
},
"promos": {
"1.15.2-latest": "1.15.2-1.0.1",
"1.15.2-recommended": "1.15.2-1.0.1"
"1.15.2-latest": "1.15.2-1.0.2",
"1.15.2-recommended": "1.15.2-1.0.2"
}
}

0 comments on commit fdfbc13

Please sign in to comment.