Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-12 22:20:08 +01:00
Don't spam if we can't find a Nms Block
Dieser Commit ist enthalten in:
Ursprung
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);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren