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

23 lines
1021 B
Diff
Raw Normal View History

2019-05-27 13:16:46 -04:00
--- a/net/minecraft/command/Commands.java
+++ b/net/minecraft/command/Commands.java
2019-05-27 02:14:20 -04:00
@@ -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.command.SpawnCommand; //Patched
+import party._2a03.command.HomeCommand; //Patched
+import party._2a03.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);