Only send social spy if the target isn't you and the sender isn't you

Check if player is muted before letting them send a global chat message
This commit is contained in:
2021-07-30 21:55:19 +02:00
parent e2aa9e892d
commit 85dd526617
3 changed files with 53 additions and 1 deletions
+25
View File
@@ -19,6 +19,14 @@
<artifactId>chat-api</artifactId>
<packaging>jar</packaging>
<repositories>
<repository>
<id>dv8tion</id>
<name>m2-dv8tion</name>
<url>https://m2.dv8tion.net/releases</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.spongepowered</groupId>
@@ -43,6 +51,23 @@
<version>5.3</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.alttd</groupId>
<artifactId>galaxy-api</artifactId>
<version>1.17-R0.1-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.alttd</groupId>
<artifactId>galaxy-api</artifactId>
<version>1.17-R0.1-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>net.dv8tion</groupId>
<artifactId>JDA</artifactId>
<version>4.3.0_291</version>
</dependency>
</dependencies>
</project>