forked from Upstream/CommandPanels
3.4.2 Updates
This commit is contained in:
parent
42ec9951d7
commit
00af0c0b11
@ -1,4 +1,4 @@
|
|||||||
version: 3.4.1
|
version: 3.4.2
|
||||||
main: me.rockyhawk.commandPanels.commandpanels
|
main: me.rockyhawk.commandPanels.commandpanels
|
||||||
name: CommandPanels
|
name: CommandPanels
|
||||||
author: RockyHawk
|
author: RockyHawk
|
||||||
|
@ -25,7 +25,7 @@ public class panelBlockOnClick implements Listener {
|
|||||||
public void onInteract(PlayerInteractEvent e){
|
public void onInteract(PlayerInteractEvent e){
|
||||||
String tag = plugin.config.getString("config.format.tag") + " ";
|
String tag = plugin.config.getString("config.format.tag") + " ";
|
||||||
//if panel blocks are disabled return
|
//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;
|
return;
|
||||||
}
|
}
|
||||||
if(e.getAction() == Action.RIGHT_CLICK_BLOCK) {
|
if(e.getAction() == Action.RIGHT_CLICK_BLOCK) {
|
||||||
|
Loading…
Reference in New Issue
Block a user