mirror of
https://github.com/GTNewHorizons/WirelessCraftingTerminal.git
synced 2026-11-14 01:14:13 +00:00
fix and port the new Localization message system and update AE2 dependency. (#43)
This commit is contained in:
1 parent
ba9df5d3cd
commit
b2187bd961
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -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")
|
||||
|
||||
+2
-2
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user