forked from Upstream/CommandPanels
v3.12.5
This commit is contained in:
parent
b8ed22a094
commit
0201b7b7cb
@ -1,4 +1,4 @@
|
|||||||
version: 3.12.4
|
version: 3.12.5
|
||||||
main: me.rockyhawk.commandpanels.CommandPanels
|
main: me.rockyhawk.commandpanels.CommandPanels
|
||||||
name: CommandPanels
|
name: CommandPanels
|
||||||
author: RockyHawk
|
author: RockyHawk
|
||||||
|
@ -41,6 +41,13 @@ public class Commandpanelrefresher implements Listener {
|
|||||||
ConfigurationSection cf = plugin.openPanels.getOpenPanel(p.getName()); //this is the panel cf section
|
ConfigurationSection cf = plugin.openPanels.getOpenPanel(p.getName()); //this is the panel cf section
|
||||||
String panelName = plugin.openPanels.getOpenPanelName(p.getName()); //get panel name
|
String panelName = plugin.openPanels.getOpenPanelName(p.getName()); //get panel name
|
||||||
|
|
||||||
|
//remove sound-on-open on 1.8 for those who do not read the wiki ;)
|
||||||
|
if(cf.contains("sound-on-open")){
|
||||||
|
if(Bukkit.getVersion().contains("1.8")){
|
||||||
|
cf.set("sound-on-open", null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if(cf.contains("panelType")) {
|
if(cf.contains("panelType")) {
|
||||||
if (cf.getString("panelType").equalsIgnoreCase("temporary")) {
|
if (cf.getString("panelType").equalsIgnoreCase("temporary")) {
|
||||||
//do not update temporary panels, only default panels
|
//do not update temporary panels, only default panels
|
||||||
|
Loading…
Reference in New Issue
Block a user