reformatted all src files (#141)

This commit is contained in:
YoungOnion
2022-09-17 05:08:02 -06:00
committed by GitHub
parent 3328bfcda2
commit 9011273229
1056 changed files with 88127 additions and 110597 deletions
@@ -25,7 +25,7 @@ public class ContainerRenamer extends AEBaseContainer {
@SideOnly(Side.CLIENT)
public void setTextField(final MEGuiTextField name) {
this.textField = name;
if(getCustomName() != null) textField.setText(getCustomName());
if (getCustomName() != null) textField.setText(getCustomName());
}
public void setNewName(String newValue) {
@@ -36,13 +36,13 @@ public class ContainerRenamer extends AEBaseContainer {
@Override
public void setCustomName(final String customName) {
super.setCustomName(customName);
if(!Platform.isServer() && customName != null) textField.setText(customName);
if (!Platform.isServer() && customName != null) textField.setText(customName);
}
@Override
public void detectAndSendChanges() {
verifyPermissions(SecurityPermissions.BUILD, false);
super.detectAndSendChanges();
if(!Platform.isServer() && getCustomName() != null) textField.setText(getCustomName());
if (!Platform.isServer() && getCustomName() != null) textField.setText(getCustomName());
}
}