1
0
This repository has been archived on 2020-06-15. You can view files and clone it, but cannot push or open issues or pull requests.
mc.2a03.party/patches/net/minecraft/command/Commands.patch
2019-06-05 09:44:16 -07:00

23 lines
1.0 KiB
Diff

--- a/net/minecraft/command/Commands.java
+++ b/net/minecraft/command/Commands.java
@@ -90,6 +90,9 @@
import net.minecraft.util.text.event.HoverEvent;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
+import party._2a03.mc.command.SpawnCommand; //Patched
+import party._2a03.mc.command.HomeCommand; //Patched
+import party._2a03.mc.command.ConfigCommand; //Patched
public class Commands {
private static final Logger field_197061_a = LogManager.getLogger();
@@ -149,6 +152,9 @@
TriggerCommand.func_198852_a(this.field_197062_b);
WeatherCommand.func_198862_a(this.field_197062_b);
WorldBorderCommand.func_198894_a(this.field_197062_b);
+ SpawnCommand.register(this.field_197062_b); //Patched
+ HomeCommand.register(this.field_197062_b); //Patched
+ ConfigCommand.register(this.field_197062_b); //Patched
if (p_i49161_1_) {
BanIpCommand.func_198220_a(this.field_197062_b);
BanListCommand.func_198229_a(this.field_197062_b);