added perf command support

This commit is contained in:
gnembon committed 2021-06-06 10:32:22 -03:00
1 parent 69cb3b98c3
commit a48a7df386
9 files changed
+136 -7

No files matched your search

@@ -27,6 +27,7 @@ public abstract class CommandManagerMixin
@Inject(method = "<init>", at = @At("RETURN"))
private void onRegister(CommandManager.RegistrationEnvironment arg, CallbackInfo ci) {
CarpetServer.registerCarpetCommands(this.dispatcher);
CarpetServer.registerCarpetCommands(this.dispatcher, arg);
}
@Inject(method = "execute", at = @At("HEAD"))