mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-24 07:50:06 +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
|
// check if we have a class we can use for nms access
|
||||||
|
|
||||||
// only run once per server startup
|
// only run once per server startup
|
||||||
if (nmsBlockType != null) return;
|
if (nmsBlockType != null || skipNmsAccess || skipNmsSafeSet || skipNmsValidBlockCheck) return;
|
||||||
Plugin plugin = Bukkit.getPluginManager().getPlugin("WorldEdit");
|
Plugin plugin = Bukkit.getPluginManager().getPlugin("WorldEdit");
|
||||||
if (!(plugin instanceof WorldEditPlugin)) return; // hopefully never happens
|
if (!(plugin instanceof WorldEditPlugin)) return; // hopefully never happens
|
||||||
WorldEditPlugin wePlugin = ((WorldEditPlugin) plugin);
|
WorldEditPlugin wePlugin = ((WorldEditPlugin) plugin);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user