mirror of
https://github.com/TotalFreedomMC/OpenInv.git
synced 2025-08-03 19:15:48 +00:00
More fixes and improvements
This commit is contained in:
parent
f7029e5ee2
commit
a03c73f8d6
4 changed files with 41 additions and 7 deletions
|
@ -135,7 +135,7 @@ public class OpenInv extends JavaPlugin {
|
|||
String itemName = mainPlugin.getConfig().getString("items.open-inv", "STICK");
|
||||
Material material = Material.getMaterial(itemName);
|
||||
if (material == null) {
|
||||
mainPlugin.getLogger().info("OpenInv item '" + itemName + "' does not match to a valid item. Defaulting to stick.");
|
||||
mainPlugin.getLogger().warning("OpenInv item '" + itemName + "' does not match to a valid item. Defaulting to stick.");
|
||||
material = Material.STICK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue