Skip to content

Commit

Permalink
Merge branch '1.18' into 1.19
Browse files Browse the repository at this point in the history
# Conflicts:
#	gradle.properties
  • Loading branch information
sisby-folk committed Sep 14, 2022
2 parents e442299 + ec2f8d9 commit 0cbca35
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ org.gradle.jvmargs = -Xmx1G
org.gradle.parallel = true

# Mod Properties
version = 1.3.4+1.19
version = 1.3.5+1.19
maven_group = folk.sisby
archives_base_name = switchy

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/folk/sisby/switchy/SwitchyCommands.java
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ private static int setPreset(ServerPlayerEntity player, SwitchyPresets presets,

String oldPresetName = Objects.toString(presets.getCurrentPreset(), "<None>");
presets.setCurrentPreset(player, presetName, true);
Switchy.LOGGER.info("[Switchy] Player switch: '" + oldPresetName + "' -> '" + presetName + "' [" + player.getUuid() + "]");
Switchy.LOGGER.info("[Switchy] Player switch: '" + oldPresetName + "' -> '" + presetName + "' [" + player.getGameProfile().getName() + "]");
tellSuccess(player, "commands.switchy.set.success", literal(oldPresetName), literal(presetName));
return 1;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public void updateFromPlayer(PlayerEntity player) {
@Override
public void applyToPlayer(PlayerEntity player) {
DrogtorPlayer drogtorPlayer = (DrogtorPlayer) player;
Switchy.LOGGER.info("[Switchy] Player Nickname Change: '" + player.getDisplayName() + "' -> '" + this.nickname + "'");
Switchy.LOGGER.info("[Switchy] Player Nickname Change: '" + player.getDisplayName().getString() + "' -> '" + this.nickname + "' [" + player.getGameProfile().getName() + "]");
drogtorPlayer.drogtor$setNickname(this.nickname);
drogtorPlayer.drogtor$setNameColor(this.namecolor);
drogtorPlayer.drogtor$setBio(this.bio);
Expand Down

0 comments on commit 0cbca35

Please sign in to comment.