mirror of
https://github.com/Aust1n46/VentureChat.git
synced 2025-05-22 18:09:06 +00:00
Fixed bug with JSON formating when removing permissions
This commit is contained in:
parent
c89cba2474
commit
eae77c8c00
@ -477,8 +477,9 @@ public class MineverseChatPlayer {
|
||||
}
|
||||
|
||||
public void setJsonFormat() {
|
||||
this.jsonFormat = "Default";
|
||||
for(JsonFormat j : MineverseChat.jfInfo.getJsonFormats()) {
|
||||
if(this.getPlayer().hasPermission("venturechat.json." + j.getName())) {
|
||||
if(this.getPlayer().isPermissionSet("venturechat.json." + j.getName())) {
|
||||
if(MineverseChat.jfInfo.getJsonFormat(this.getJsonFormat()).getPriority() > j.getPriority()) {
|
||||
this.jsonFormat = j.getName();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user