Skip to content

Commit

Permalink
feat: update for latest version of the chunks and teams
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelHillcox committed Feb 3, 2023
1 parent ec1f522 commit f39be70
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ loom.platform=forge
minecraft_version=1.18.2
forge_version=1.18.2-40.1.84

mod_version=0.6.7
mod_version=0.6.8
maven_group=dev.ftb.mods
archives_base_name=ftb-stoneblock-companion
mod_id=ftbsbc
Expand All @@ -13,8 +13,8 @@ mod_author=FTB Team
jei_file=3885885
rhino_version=1802.2.0-build.232
kubejs_version=1802.5.5-build.546
teams_version=1802.2.6-build.69
chunks_version=1802.3.6-build.170
teams_version=1802.2.10-build.96
chunks_version=1802.3.13-build.234
jade_version=4035581

essentials_version=1802.1.7-build.42
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/dev/ftb/ftbsbc/FTBStoneBlockCommands.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public static void register(CommandDispatcher<CommandSourceStack> commandDispatc
}

private static int restore(CommandSourceStack source, ArchivedDimension dimension, ServerPlayer player) throws CommandSyntaxException {
PartyTeam party = FTBTeamsAPI.getManager().createParty(player, player.getName().getString() + " Party", false).getValue();
PartyTeam party = FTBTeamsAPI.getManager().createParty(player, player.getName().getString() + " Party").getValue();
ResourceKey<Level> levelResourceKey = DimensionStorage.get(source.getServer()).putDimension(party, dimension.dimensionName());

// Remove the dimension from the archived dims
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void createDimForTeam(ServerPlayer player, ResourceLocation prebuiltLocat
Team playerTeam = FTBTeamsAPI.getPlayerTeam(player);
if (playerTeam.getType() != TeamType.PARTY) {
try {
playerTeam = FTBTeamsAPI.getManager().createParty(player, player.getName().getString() + " Party", false).getValue();
playerTeam = FTBTeamsAPI.getManager().createParty(player, player.getName().getString() + " Party").getValue();
} catch (CommandSyntaxException e) {
// This likely can't happen
LOGGER.error("Unable to create player team due to " + e);
Expand Down

0 comments on commit f39be70

Please # to comment.