aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/render/GT_CapeRenderer.java
diff options
context:
space:
mode:
authorboubou19 <miisterunknown@gmail.com>2023-04-01 18:11:43 +0200
committerGitHub <noreply@github.com>2023-04-01 18:11:43 +0200
commit5f50e4a36ec000657b0a1664784acf00275293c6 (patch)
tree5ef81441032735438c9fd9c620224ca58e46e537 /src/main/java/gregtech/common/render/GT_CapeRenderer.java
parent6b77557e0e87cf5afd9ebd3985323ff1249e615c (diff)
downloadGT5-Unofficial-5f50e4a36ec000657b0a1664784acf00275293c6.tar.gz
GT5-Unofficial-5f50e4a36ec000657b0a1664784acf00275293c6.tar.bz2
GT5-Unofficial-5f50e4a36ec000657b0a1664784acf00275293c6.zip
update spotless formatting (#1827)
Diffstat (limited to 'src/main/java/gregtech/common/render/GT_CapeRenderer.java')
-rw-r--r--src/main/java/gregtech/common/render/GT_CapeRenderer.java37
1 files changed, 27 insertions, 10 deletions
diff --git a/src/main/java/gregtech/common/render/GT_CapeRenderer.java b/src/main/java/gregtech/common/render/GT_CapeRenderer.java
index 274a914b67..6254a9df79 100644
--- a/src/main/java/gregtech/common/render/GT_CapeRenderer.java
+++ b/src/main/java/gregtech/common/render/GT_CapeRenderer.java
@@ -50,34 +50,51 @@ public class GT_CapeRenderer extends RenderPlayer {
}
try {
ResourceLocation tResource = aPlayer.getLocationCape();
- if (aPlayer.getDisplayName().equalsIgnoreCase("Friedi4321")) {
+ if (aPlayer.getDisplayName()
+ .equalsIgnoreCase("Friedi4321")) {
tResource = this.mCapes[0];
}
- if (this.mCapeList.contains(aPlayer.getDisplayName().toLowerCase())) {
+ if (this.mCapeList.contains(
+ aPlayer.getDisplayName()
+ .toLowerCase())) {
tResource = this.mCapes[1];
}
- if (aPlayer.getDisplayName().equalsIgnoreCase("Mr_Brain")) {
+ if (aPlayer.getDisplayName()
+ .equalsIgnoreCase("Mr_Brain")) {
tResource = this.mCapes[2];
}
- if (aPlayer.getDisplayName().equalsIgnoreCase("GregoriusT")) {
+ if (aPlayer.getDisplayName()
+ .equalsIgnoreCase("GregoriusT")) {
tResource = this.mCapes[3];
}
- if (this.mCapeList.contains(aPlayer.getDisplayName().toLowerCase() + ":capedonor")) {
+ if (this.mCapeList.contains(
+ aPlayer.getDisplayName()
+ .toLowerCase() + ":capedonor")) {
tResource = this.mCapes[4];
}
- if (this.mCapeList.contains(aPlayer.getDisplayName().toLowerCase() + ":capedev")) {
+ if (this.mCapeList.contains(
+ aPlayer.getDisplayName()
+ .toLowerCase() + ":capedev")) {
tResource = this.mCapes[5];
}
- if (this.mCapeList.contains(aPlayer.getDisplayName().toLowerCase() + ":cape_steam")) {
+ if (this.mCapeList.contains(
+ aPlayer.getDisplayName()
+ .toLowerCase() + ":cape_steam")) {
tResource = this.mCapes[6];
}
- if (this.mCapeList.contains(aPlayer.getDisplayName().toLowerCase() + ":cape_titanium")) {
+ if (this.mCapeList.contains(
+ aPlayer.getDisplayName()
+ .toLowerCase() + ":cape_titanium")) {
tResource = this.mCapes[7];
}
- if (this.mCapeList.contains(aPlayer.getDisplayName().toLowerCase() + ":cape_neutronium")) {
+ if (this.mCapeList.contains(
+ aPlayer.getDisplayName()
+ .toLowerCase() + ":cape_neutronium")) {
tResource = this.mCapes[8];
}
- if (this.mCapeList.contains(aPlayer.getDisplayName().toLowerCase() + ":cape_stargate")) {
+ if (this.mCapeList.contains(
+ aPlayer.getDisplayName()
+ .toLowerCase() + ":cape_stargate")) {
tResource = this.mCapes[9];
}