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

@@ -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 {