Closed jman13378 closed 2 years ago
any reason why you closed this issue? was it solved?
Yes I was doing this every time event.setCancelable(true);
} else player.sendMessage(ChatColor.translateAlternateColorCodes('&', wrongmsg)); event.setCancelled(true)
Terms
Discord tag (optional)
Jonathan_Nathan#9938
What happened?
i have this if the block is under blocks and is whitelisted it should place but for some reason it isnt placing after going through the checks ``java if (config.getBoolean(namespace2 + ".whitelist")) {
} else { // blacklisted if (!config.getStringList(namespace2 + ".blocks").contains(bunder.getType().toString())) { return; } else player.sendMessage(ChatColor.translateAlternateColorCodes('&', wrongmsg)); event.setCancelled(true); }
ItemsAdder config.yml
Problematic items yml configuration file (optional)
Other files, you can drag and drop them here to upload. (optional)
No response
Screenshots/Videos (you can drag and drop files or paste links)
No response