File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/main/java/net/earthcomputer/clientcommands/command Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38,19 +38,19 @@ public static void register(CommandDispatcher<FabricClientCommandSource> dispatc
3838 private static int getMaxFps (FabricClientCommandSource source ) {
3939 int framerateLimit = source .getClient ().getFramerateLimitTracker ().getFramerateLimit ();
4040 if (framerateLimit < Integer .MAX_VALUE ) {
41- source .sendFeedback (Component .translatable ("commands.cfps.success.get " , framerateLimit ));
41+ source .sendFeedback (Component .translatable ("commands.cfps.getMaxFps " , framerateLimit ));
4242 } else {
43- source .sendFeedback (Component .translatable ("commands.cfps.success.get .unlimited" ));
43+ source .sendFeedback (Component .translatable ("commands.cfps.getMaxFps .unlimited" ));
4444 }
4545 return framerateLimit ;
4646 }
4747
4848 private static int maxFps (FabricClientCommandSource source , int maxFps ) {
4949 source .getClient ().getFramerateLimitTracker ().setFramerateLimit (maxFps );
5050 if (maxFps == Integer .MAX_VALUE ) {
51- source .sendFeedback (Component .translatable ("commands.cfps.success.set .unlimited" ));
51+ source .sendFeedback (Component .translatable ("commands.cfps.setMaxFps .unlimited" ));
5252 } else {
53- source .sendFeedback (Component .translatable ("commands.cfps.success.set " , maxFps ));
53+ source .sendFeedback (Component .translatable ("commands.cfps.setMaxFps " , maxFps ));
5454 }
5555 return maxFps ;
5656 }
You can’t perform that action at this time.
0 commit comments