Update RedProtect Extension

Removed sponge support

Affects issues:
- Close #2576
This commit is contained in:
Aurora Lahtela 2022-09-01 11:59:06 +03:00
parent f341eda0ff
commit 80fe1ce982
2 changed files with 3 additions and 2 deletions

View File

@ -39,7 +39,7 @@ dependencies {
shadow 'net.playeranalytics:Extension-ProtocolSupport:1.16.4-R1.3' shadow 'net.playeranalytics:Extension-ProtocolSupport:1.16.4-R1.3'
shadow 'net.playeranalytics:Extension-Quests:4.0.5-R1.1' shadow 'net.playeranalytics:Extension-Quests:4.0.5-R1.1'
shadow 'net.playeranalytics:Extension-React:6.651-R1.1' shadow 'net.playeranalytics:Extension-React:6.651-R1.1'
// shadow 'net.playeranalytics:Extension-RedProtect:7.7.3-R1.1' // TODO Update to sponge 8 shadow 'net.playeranalytics:Extension-RedProtect:7.7.3-R1.1'
shadow 'net.playeranalytics:Extension-Sponge-Economy:8.0.0-R1.3' shadow 'net.playeranalytics:Extension-Sponge-Economy:8.0.0-R1.3'
shadow 'net.playeranalytics:Extension-SuperbVote:0.5.4-R1.1' shadow 'net.playeranalytics:Extension-SuperbVote:0.5.4-R1.1'
shadow 'net.playeranalytics:Extension-Tebex:R2.3' shadow 'net.playeranalytics:Extension-Tebex:R2.3'

View File

@ -58,6 +58,7 @@ import net.playeranalytics.extension.protectionstones.ProtectionStonesExtensionF
import net.playeranalytics.extension.protocolsupport.ProtocolSupportExtensionFactory; import net.playeranalytics.extension.protocolsupport.ProtocolSupportExtensionFactory;
import net.playeranalytics.extension.quests.QuestsExtensionFactory; import net.playeranalytics.extension.quests.QuestsExtensionFactory;
import net.playeranalytics.extension.react.ReactExtensionFactory; import net.playeranalytics.extension.react.ReactExtensionFactory;
import net.playeranalytics.extension.redprotect.RedProtectExtensionFactory;
import net.playeranalytics.extension.spongeeconomy.SpongeEconomyExtensionFactory; import net.playeranalytics.extension.spongeeconomy.SpongeEconomyExtensionFactory;
import net.playeranalytics.extension.superbvote.SuperbVoteExtensionFactory; import net.playeranalytics.extension.superbvote.SuperbVoteExtensionFactory;
import net.playeranalytics.extension.tebex.BuycraftExtensionFactory; import net.playeranalytics.extension.tebex.BuycraftExtensionFactory;
@ -139,7 +140,7 @@ public class ExtensionRegister {
register(new ProtocolSupportExtensionFactory(), ProtocolSupportExtensionFactory::createExtension); register(new ProtocolSupportExtensionFactory(), ProtocolSupportExtensionFactory::createExtension);
register(new QuestsExtensionFactory(), QuestsExtensionFactory::createExtension); register(new QuestsExtensionFactory(), QuestsExtensionFactory::createExtension);
register(new ReactExtensionFactory(), ReactExtensionFactory::createExtension); register(new ReactExtensionFactory(), ReactExtensionFactory::createExtension);
// register(new RedProtectExtensionFactory(), RedProtectExtensionFactory::createExtension); // TODO: update for Sponge API 8 register(new RedProtectExtensionFactory(), RedProtectExtensionFactory::createExtension);
register(new SpongeEconomyExtensionFactory(), SpongeEconomyExtensionFactory::createExtension); register(new SpongeEconomyExtensionFactory(), SpongeEconomyExtensionFactory::createExtension);
register(new SuperbVoteExtensionFactory(), SuperbVoteExtensionFactory::createExtension); register(new SuperbVoteExtensionFactory(), SuperbVoteExtensionFactory::createExtension);
register(new TownyExtensionFactory(), TownyExtensionFactory::createExtension); register(new TownyExtensionFactory(), TownyExtensionFactory::createExtension);