mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-12-26 20:27:38 +01:00
Fixed AAC integration
This commit is contained in:
parent
229b6f91d0
commit
d919a079cb
@ -91,14 +91,14 @@ public class EcoEnchantsPlugin extends AbstractEcoPlugin {
|
||||
*/
|
||||
@Override
|
||||
public void disable() {
|
||||
Bukkit.getServer().getWorlds().forEach((world -> {
|
||||
Bukkit.getServer().getWorlds().forEach(world -> {
|
||||
List<BlockPopulator> populators = new ArrayList<>(world.getPopulators());
|
||||
populators.forEach((blockPopulator -> {
|
||||
if (blockPopulator instanceof LootPopulator) {
|
||||
world.getPopulators().remove(blockPopulator);
|
||||
}
|
||||
}));
|
||||
}));
|
||||
});
|
||||
|
||||
|
||||
this.getExtensionLoader().unloadExtensions();
|
||||
|
@ -328,7 +328,7 @@ public abstract class AbstractEcoPlugin extends JavaPlugin {
|
||||
integrationLoaders.add(new IntegrationLoader("Kingdoms", () -> AntigriefManager.register(new AntigriefKingdoms())));
|
||||
|
||||
// Anticheat
|
||||
integrationLoaders.add(new IntegrationLoader("AAC", () -> AnticheatManager.register(new AnticheatAAC())));
|
||||
integrationLoaders.add(new IntegrationLoader("AAC5", () -> AnticheatManager.register(new AnticheatAAC())));
|
||||
integrationLoaders.add(new IntegrationLoader("Matrix", () -> AnticheatManager.register(new AnticheatMatrix())));
|
||||
integrationLoaders.add(new IntegrationLoader("NoCheatPlus", () -> AnticheatManager.register(new AnticheatNCP())));
|
||||
integrationLoaders.add(new IntegrationLoader("Spartan", () -> AnticheatManager.register(new AnticheatSpartan())));
|
||||
|
Loading…
Reference in New Issue
Block a user