File tree Expand file tree Collapse file tree
src/main/java/dev/dfonline/codeclient/mixin Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,10 +29,10 @@ private void onOpen(CallbackInfo ci) {
2929 if (item instanceof NamedItem named ) {
3030 this .chatField .setText (named .getName ().replaceAll ("§" , "&" ));
3131 } else if (item instanceof Vector vec ) {
32- this .chatField .setText ("%s %s %s" .formatted (format . format ( vec .getX ()), format . format ( vec .getY ()), format . format ( vec .getZ () )));
32+ this .chatField .setText ("%s %s %s" .formatted (vec .getX (), vec .getY (), vec .getZ ()));
3333 } else if (item instanceof Sound sound ) {
3434 if (sound .getVolume () != 2 )
35- this .chatField .setText ("%s %s" .formatted (format . format ( sound .getPitch () ), format .format (sound .getVolume ())));
35+ this .chatField .setText ("%s %s" .formatted (sound .getPitch (), format .format (sound .getVolume ())));
3636 else this .chatField .setText (format .format (sound .getPitch ()));
3737 } else if (item instanceof Potion pot ) {
3838 if (pot .getDuration () == Potion .INFINITE ) this .chatField .setText (Integer .toString (pot .getAmplifier () + 1 ));
You can’t perform that action at this time.
0 commit comments