fix and port the new Localization message system and update AE2 dependency. (#43)

This commit is contained in:
NeOzay authored and GitHub committed 2025-07-15 21:37:13 +07:00
1 parent ba9df5d3cd
commit b2187bd961
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
// Add your dependencies here
dependencies {
api("com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-639-GTNH:dev")
api("com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-658-GTNH:dev")
implementation("com.github.GTNewHorizons:Baubles-Expanded:2.1.9-GTNH:dev")
compileOnly("curse.maven:cofh-core-69162:2388751")
@@ -809,7 +809,7 @@ public class ContainerWirelessCraftingTerminal extends AEBaseContainer
if (!isInRange()) {
if (!isBoosterInstalled() || !Reference.WCT_BOOSTER_ENABLED) {
if (this.isValidContainer()) {
this.getPlayerInv().player.addChatMessage(PlayerMessages.OutOfRange.get());
this.getPlayerInv().player.addChatMessage(PlayerMessages.OutOfRange.toChat());
}
this.setValidContainer(false);
}
@@ -823,7 +823,7 @@ public class ContainerWirelessCraftingTerminal extends AEBaseContainer
} else if (!hasAccess(SecurityPermissions.CRAFT, true) || !hasAccess(SecurityPermissions.EXTRACT, true)
|| !hasAccess(SecurityPermissions.INJECT, true)) {
if (this.isValidContainer()) {
this.getPlayerInv().player.addChatMessage(PlayerMessages.CommunicationError.get());
this.getPlayerInv().player.addChatMessage(PlayerMessages.CommunicationError.toChat());
}
this.setValidContainer(false);
} else {