mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-02 10:57:11 +00:00
Don't spam if we can't find a Nms Block
This commit is contained in:
parent
19d7beaf39
commit
5b0af07c3c
@ -124,7 +124,7 @@ public class BukkitWorld extends LocalWorld {
|
||||
// check if we have a class we can use for nms access
|
||||
|
||||
// only run once per server startup
|
||||
if (nmsBlockType != null) return;
|
||||
if (nmsBlockType != null || skipNmsAccess || skipNmsSafeSet || skipNmsValidBlockCheck) return;
|
||||
Plugin plugin = Bukkit.getPluginManager().getPlugin("WorldEdit");
|
||||
if (!(plugin instanceof WorldEditPlugin)) return; // hopefully never happens
|
||||
WorldEditPlugin wePlugin = ((WorldEditPlugin) plugin);
|
||||
|
Loading…
Reference in New Issue
Block a user