aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common
diff options
context:
space:
mode:
authorMary <33456283+FourIsTheNumber@users.noreply.github.com>2024-08-08 01:27:47 -0400
committerGitHub <noreply@github.com>2024-08-08 12:27:47 +0700
commit12d227f59ed34f8362b307628b3965d48c3456a4 (patch)
tree5245475c8835718dce18136c5d3afd9c4423974e /src/main/java/gregtech/common
parent97be8a4e1eb8c7ac3f637ea4c89ff94ddc8e37c9 (diff)
downloadGT5-Unofficial-12d227f59ed34f8362b307628b3965d48c3456a4.tar.gz
GT5-Unofficial-12d227f59ed34f8362b307628b3965d48c3456a4.tar.bz2
GT5-Unofficial-12d227f59ed34f8362b307628b3965d48c3456a4.zip
Fix solenoid page assignment (#2846)
* Fix solenoid page assignment * Forgot to declare the page itself * Accidentally dropped the override tag
Diffstat (limited to 'src/main/java/gregtech/common')
-rw-r--r--src/main/java/gregtech/common/blocks/GT_Cyclotron_Coils.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/gregtech/common/blocks/GT_Cyclotron_Coils.java b/src/main/java/gregtech/common/blocks/GT_Cyclotron_Coils.java
index 75b3670895..d918060298 100644
--- a/src/main/java/gregtech/common/blocks/GT_Cyclotron_Coils.java
+++ b/src/main/java/gregtech/common/blocks/GT_Cyclotron_Coils.java
@@ -38,9 +38,9 @@ public class GT_Cyclotron_Coils extends GT_Block_Casings_Abstract {
ItemList.Superconducting_Magnet_Solenoid_UMV.set(new ItemStack(this, 1, 10));
}
- @Override // Magic numbers...
+ @Override
public int getTextureIndex(int aMeta) {
- return 208 + aMeta;
+ return (2 << 7) | (aMeta);
}
@Override