Skip to content

Commit

Permalink
Fix NoClassDefFoundError on forge from RLib
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexNijjar committed Oct 20, 2023
1 parent d2c44d9 commit d99109c
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 13 deletions.
4 changes: 1 addition & 3 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
- Fix friendly fire not doing anything in parties
- Fix party settings command setting incorrect values
- Remove Admin claiming commands as they are now part of Cadmus
- Add guild and party client API (#9)
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public interface PartyClientApi {
* Gets the party with the given id.
*
* @param id The id of the party.
* @return The party with the given id.
* @return The party with the given id, or null if the party does not exist.
*/
@Nullable
Party get(UUID id);
Expand All @@ -25,7 +25,7 @@ public interface PartyClientApi {
* Gets the party the player is in.
*
* @param player The player to get the party for.
* @return The party the player is in.
* @return The party the player is in, or null if the player is not in a party.
*/
@Nullable
Party getPlayerParty(LocalPlayer player);
Expand All @@ -34,7 +34,7 @@ public interface PartyClientApi {
* Gets the party the player is in.
*
* @param player The player to get the party for.
* @return The party the player is in.
* @return The party the player is in, or null if the player is not in a party.
*/
@Nullable
Party getPlayerParty(UUID player);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ default void createParty(Player player) throws MemberException {
* Gets the party with the given id.
*
* @param id The id of the party.
* @return The party with the given id.
* @return The party with the given id, or null if the party does not exist.
*/
@Nullable
Party get(UUID id);
Expand All @@ -45,7 +45,7 @@ default void createParty(Player player) throws MemberException {
* Gets the party the player is in.
*
* @param player The player to get the party for.
* @return The party the player is in.
* @return The party the player is in, or null if the player is not in a party.
*/
@Nullable
Party get(Player player);
Expand All @@ -54,7 +54,7 @@ default void createParty(Player player) throws MemberException {
* Gets the party the player is in.
*
* @param player The player to get the party for.
* @return The party the player is in.
* @return The party the player is in, or null if the player is not in a party.
*/
@Nullable
Party getPlayerParty(UUID player);
Expand Down
4 changes: 2 additions & 2 deletions fabric/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
fabricLoaderVersion=0.14.21
fabricApiVersion=0.85.0
fabricLoaderVersion=0.14.23
fabricApiVersion=0.90.0

placeholderApiVersion=2.1.1
3 changes: 3 additions & 0 deletions forge/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ dependencies {
shadowCommon(project(path = ":common", configuration = "transformProductionForge")) {
isTransitive = false
}

forgeRuntimeLibrary("com.teamresourceful:yabn:1.0.3")
forgeRuntimeLibrary("com.teamresourceful:bytecodecs:1.0.2")
}

tasks.processResources {
Expand Down
2 changes: 1 addition & 1 deletion forge/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
loom.platform=forge
forgeVersion=47.0.19
forgeVersion=47.1.3
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ mixinExtrasVersion=0.2.0-beta.8
resourcefulLibVersion=2.1.11

cadmusVersion=1.0.2
heraclesVersion=1.0.3
heraclesVersion=1.0.5
reiVersion=12.0.652

0 comments on commit d99109c

Please sign in to comment.