mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-11 20:13:55 +00:00
This commit is contained in:
@ -49,7 +49,7 @@ public class BukkitBlockRegistry extends BundledBlockRegistry {
|
||||
public BlockMaterial getMaterial(BlockType blockType) {
|
||||
Material type = BukkitAdapter.adapt(blockType);
|
||||
if (type == null) {
|
||||
type = Material.AIR;
|
||||
return new PassthroughBlockMaterial(null);
|
||||
}
|
||||
return materialMap.computeIfAbsent(type, m -> new BukkitBlockMaterial(BukkitBlockRegistry.super.getMaterial(blockType), m));
|
||||
}
|
||||
|
@ -123,6 +123,7 @@ public class WorldEditPlugin extends JavaPlugin implements TabCompleter {
|
||||
}
|
||||
|
||||
public WorldEditPlugin(JavaPluginLoader loader, PluginDescriptionFile desc, File dataFolder, File jarFile) {
|
||||
super(loader, desc, dataFolder, jarFile);
|
||||
init();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user