3.4.2 Updates

This commit is contained in:
rockyhawk64 2020-07-15 10:36:01 +10:00
parent 42ec9951d7
commit 00af0c0b11
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
version: 3.4.1
version: 3.4.2
main: me.rockyhawk.commandPanels.commandpanels
name: CommandPanels
author: RockyHawk

View File

@ -25,7 +25,7 @@ public class panelBlockOnClick implements Listener {
public void onInteract(PlayerInteractEvent e){
String tag = plugin.config.getString("config.format.tag") + " ";
//if panel blocks are disabled return
if(Objects.requireNonNull(plugin.config.getString("")).equalsIgnoreCase("false")){
if(Objects.requireNonNull(plugin.config.getString("config.panel-blocks")).equalsIgnoreCase("false")){
return;
}
if(e.getAction() == Action.RIGHT_CLICK_BLOCK) {