mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-12 18:54:01 +00:00
Merge pull request #421 from Pieter12345/master
Fix plugin enabling on Bukkit without compatible adapter
This commit is contained in:
commit
3b88fc361d
@ -82,11 +82,10 @@ public class WorldEditPlugin extends JavaPlugin implements TabCompleter {
|
|||||||
|
|
||||||
WorldEdit worldEdit = WorldEdit.getInstance();
|
WorldEdit worldEdit = WorldEdit.getInstance();
|
||||||
|
|
||||||
loadAdapter(); // Need an adapter to work with special blocks with NBT data
|
|
||||||
|
|
||||||
// Setup platform
|
// Setup platform
|
||||||
server = new BukkitServerInterface(this, getServer());
|
server = new BukkitServerInterface(this, getServer());
|
||||||
worldEdit.getPlatformManager().register(server);
|
worldEdit.getPlatformManager().register(server);
|
||||||
|
loadAdapter(); // Need an adapter to work with special blocks with NBT data
|
||||||
worldEdit.loadMappings();
|
worldEdit.loadMappings();
|
||||||
|
|
||||||
loadConfig(); // Load configuration
|
loadConfig(); // Load configuration
|
||||||
|
Loading…
x
Reference in New Issue
Block a user