mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-17 19:05:29 +00:00
Use new localization message system from AE2 (#319)
This commit is contained in:
1 parent
f9566ce891
commit
ae7af4e712
9 files changed
+13
-13
No files matched your search
@@ -148,7 +148,7 @@ public abstract class FCPartMonitor extends AbstractPartDisplay implements IPart
|
||||
|
||||
if (Platform.isWrench(player, eq, te.xCoord, te.yCoord, te.zCoord)) {
|
||||
this.isLocked = !this.isLocked;
|
||||
player.addChatMessage((this.isLocked ? PlayerMessages.isNowLocked : PlayerMessages.isNowUnlocked).get());
|
||||
player.addChatMessage((this.isLocked ? PlayerMessages.isNowLocked : PlayerMessages.isNowUnlocked).toChat());
|
||||
this.getHost().markForUpdate();
|
||||
} else if (!this.isLocked) {
|
||||
this.configuredFluid = AEFluidStack.create(Util.FluidUtil.getFluidFromContainer(eq));
|
||||
|
||||
Reference in new issue
Block a user