Skip to content

Commit

Permalink
client.ScottTheWozMixin
Browse files Browse the repository at this point in the history
  • Loading branch information
AViewFromTheTop committed Sep 29, 2022
1 parent 60d9a38 commit 664e61a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;

import java.util.List;
import java.util.Locale;

@Environment(EnvType.CLIENT)
@Mixin(SplashManager.class)
Expand All @@ -29,7 +28,7 @@ public class ScottTheWozMixin {
@Inject(method = "getSplash", at = @At("TAIL"), cancellable = true)
public void getSplash(CallbackInfoReturnable<String> info) {
if (this.user != null && RANDOM.nextInt(this.splashes.size()) == 42) {
info.setReturnValue("Hey all, " + this.user.getName().toUpperCase(Locale.ROOT) + " here.");
info.setReturnValue("Hey all, " + this.user.getName() + " here.");
}
}
}

18 comments on commit 664e61a

@AViewFromTheTop

This comment was marked as abuse.

@AViewFromTheTop

This comment was marked as abuse.

@AViewFromTheTop

This comment was marked as abuse.

@AViewFromTheTop

This comment was marked as abuse.

@AViewFromTheTop

This comment was marked as abuse.

@AViewFromTheTop

This comment was marked as abuse.

@AViewFromTheTop

This comment was marked as abuse.

@AViewFromTheTop

This comment was marked as abuse.

@AViewFromTheTop

This comment was marked as abuse.

@AViewFromTheTop

This comment was marked as abuse.

@AViewFromTheTop

This comment was marked as abuse.

@AViewFromTheTop

This comment was marked as abuse.

@AViewFromTheTop

This comment was marked as abuse.

@AViewFromTheTop

This comment was marked as abuse.

@AViewFromTheTop

This comment was marked as abuse.

@AViewFromTheTop

This comment was marked as abuse.

@AViewFromTheTop

This comment was marked as abuse.

@AViewFromTheTop

This comment was marked as abuse.

Please sign in to comment.