mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 07:06:45 +01:00
Fix missing party chat permission node check
This commit is contained in:
parent
8aff138954
commit
ca93dc02df
@ -1,3 +1,6 @@
|
|||||||
|
Version 2.1.151
|
||||||
|
Fixed a bug where players could chat to party chat without the party chat permission
|
||||||
|
|
||||||
Version 2.1.150
|
Version 2.1.150
|
||||||
Fixed an ArrayIndexOutOfBounds exception when using /skillreset
|
Fixed an ArrayIndexOutOfBounds exception when using /skillreset
|
||||||
You can now add "-s" at the end of mmoedit, addlevels, or addxp to silence the command. Which will prevent the target of the command from being informed that the command was executed.
|
You can now add "-s" at the end of mmoedit, addlevels, or addxp to silence the command. Which will prevent the target of the command from being informed that the command was executed.
|
||||||
|
2
pom.xml
2
pom.xml
@ -2,7 +2,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.gmail.nossr50.mcMMO</groupId>
|
<groupId>com.gmail.nossr50.mcMMO</groupId>
|
||||||
<artifactId>mcMMO</artifactId>
|
<artifactId>mcMMO</artifactId>
|
||||||
<version>2.1.150</version>
|
<version>2.1.151-SNAPSHOT</version>
|
||||||
<name>mcMMO</name>
|
<name>mcMMO</name>
|
||||||
<url>https://github.com/mcMMO-Dev/mcMMO</url>
|
<url>https://github.com/mcMMO-Dev/mcMMO</url>
|
||||||
<scm>
|
<scm>
|
||||||
|
@ -159,7 +159,7 @@ public class ChatManager {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case PARTY:
|
case PARTY:
|
||||||
if(mmoPlayer.getParty() != null) {
|
if(mmoPlayer.getParty() != null && Permissions.partyChat(mmoPlayer.getPlayer())) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user