mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-04 22:15:37 +00:00
fix: Update mcMMO dep, keep support for classic (#612)
This commit is contained in:
1 parent
81d527160f
commit
cb0c58964e
3 files changed
+8
-9
No files matched your search
@@ -53,7 +53,7 @@ rabbitmq = "5.24.0"
|
|||||||
nats = "2.20.5"
|
nats = "2.20.5"
|
||||||
h2 = "2.3.232"
|
h2 = "2.3.232"
|
||||||
towny = "0.100.3.0"
|
towny = "0.100.3.0"
|
||||||
mcmmo = "2.1.227"
|
mcmmo = "2.2.004"
|
||||||
fuuid = "1.6.9.5-U0.6.35"
|
fuuid = "1.6.9.5-U0.6.35"
|
||||||
|
|
||||||
# synced with version used by lowest supported mc (currently 1.20.6 on paper)
|
# synced with version used by lowest supported mc (currently 1.20.6 on paper)
|
||||||
|
|||||||
+1
-2
@@ -20,7 +20,6 @@
|
|||||||
package net.draycia.carbon.paper.integration.mcmmo;
|
package net.draycia.carbon.paper.integration.mcmmo;
|
||||||
|
|
||||||
import com.gmail.nossr50.datatypes.party.Party;
|
import com.gmail.nossr50.datatypes.party.Party;
|
||||||
import com.gmail.nossr50.party.PartyManager;
|
|
||||||
import com.google.inject.Inject;
|
import com.google.inject.Inject;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
@@ -98,7 +97,7 @@ public class McmmoPartyChannel extends ConfigChatChannel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private @Nullable Party party(final CarbonPlayer player) {
|
private @Nullable Party party(final CarbonPlayer player) {
|
||||||
return PartyManager.getParty(Bukkit.getPlayer(player.uuid()));
|
return com.gmail.nossr50.util.player.UserManager.getPlayer(Bukkit.getPlayer(player.uuid())).getParty();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+6
-6
@@ -37,12 +37,6 @@ dependencyResolutionManagement {
|
|||||||
includeGroup("net.essentialsx")
|
includeGroup("net.essentialsx")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// CodeMC (Minecraft Open Source)
|
|
||||||
maven("https://repo.codemc.io/repository/maven-public/") {
|
|
||||||
mavenContent {
|
|
||||||
includeGroup("com.gmail.nossr50.mcMMO")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// DiscordSRV
|
// DiscordSRV
|
||||||
maven("https://nexus.scarsz.me/content/groups/public/") {
|
maven("https://nexus.scarsz.me/content/groups/public/") {
|
||||||
mavenContent {
|
mavenContent {
|
||||||
@@ -57,6 +51,12 @@ dependencyResolutionManagement {
|
|||||||
maven("https://ci.ender.zone/plugin/repository/everything/") {
|
maven("https://ci.ender.zone/plugin/repository/everything/") {
|
||||||
content { includeGroup("com.massivecraft") }
|
content { includeGroup("com.massivecraft") }
|
||||||
}
|
}
|
||||||
|
// mcMMO
|
||||||
|
maven("https://nexus.neetgames.com/repository/maven-releases/") {
|
||||||
|
content {
|
||||||
|
includeGroup("com.gmail.nossr50.mcMMO")
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user