diff options
author | lucko <git@lucko.me> | 2022-06-09 22:13:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-09 22:13:58 +0100 |
commit | 4a16a1a2f4eb09f706b4a541e3d31618de29420b (patch) | |
tree | cc320ee2e6551f2157a2d54968f8ba14f6713d08 /spark-fabric/src/main/java/me/lucko/spark/fabric/FabricCommandSender.java | |
parent | 32ab78c71c5be97da7329a4f7c4035289a3490b1 (diff) | |
parent | ecc3714e6441ace0eb78156b2b4475ca050280db (diff) | |
download | spark-4a16a1a2f4eb09f706b4a541e3d31618de29420b.tar.gz spark-4a16a1a2f4eb09f706b4a541e3d31618de29420b.tar.bz2 spark-4a16a1a2f4eb09f706b4a541e3d31618de29420b.zip |
Merge pull request #213 from embeddedt/forge-1.7.10
Align 1.7.10 with Spark 1.9
Diffstat (limited to 'spark-fabric/src/main/java/me/lucko/spark/fabric/FabricCommandSender.java')
-rw-r--r-- | spark-fabric/src/main/java/me/lucko/spark/fabric/FabricCommandSender.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spark-fabric/src/main/java/me/lucko/spark/fabric/FabricCommandSender.java b/spark-fabric/src/main/java/me/lucko/spark/fabric/FabricCommandSender.java index 14b3442..2138dbe 100644 --- a/spark-fabric/src/main/java/me/lucko/spark/fabric/FabricCommandSender.java +++ b/spark-fabric/src/main/java/me/lucko/spark/fabric/FabricCommandSender.java @@ -34,8 +34,6 @@ import net.minecraft.text.Text; import java.util.UUID; public class FabricCommandSender extends AbstractCommandSender<CommandOutput> { - private static final UUID NIL_UUID = new UUID(0, 0); - private final FabricSparkPlugin plugin; public FabricCommandSender(CommandOutput commandOutput, FabricSparkPlugin plugin) { @@ -67,7 +65,7 @@ public class FabricCommandSender extends AbstractCommandSender<CommandOutput> { @Override public void sendMessage(Component message) { Text component = Text.Serializer.fromJson(GsonComponentSerializer.gson().serialize(message)); - super.delegate.sendSystemMessage(component, NIL_UUID); + super.delegate.sendMessage(component); } @Override |