mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 22:15:45 +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
+1
-2
@@ -20,7 +20,6 @@
|
||||
package net.draycia.carbon.paper.integration.mcmmo;
|
||||
|
||||
import com.gmail.nossr50.datatypes.party.Party;
|
||||
import com.gmail.nossr50.party.PartyManager;
|
||||
import com.google.inject.Inject;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
@@ -98,7 +97,7 @@ public class McmmoPartyChannel extends ConfigChatChannel {
|
||||
}
|
||||
|
||||
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
|
||||
|
||||
Reference in new issue
Block a user