aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common
diff options
context:
space:
mode:
authorGlease <4586901+Glease@users.noreply.github.com>2023-03-09 17:38:29 +0800
committerGitHub <noreply@github.com>2023-03-09 17:38:29 +0800
commitf526fdeca3c7c5038d9d737e41ebbbf1d632fb44 (patch)
treebf36ec1c6b53f1b1242e126465cf19e5c03b34ad /src/main/java/gregtech/common
parentdaf7594696b55e7e9042e2af59215148080f5058 (diff)
downloadGT5-Unofficial-f526fdeca3c7c5038d9d737e41ebbbf1d632fb44.tar.gz
GT5-Unofficial-f526fdeca3c7c5038d9d737e41ebbbf1d632fb44.tar.bz2
GT5-Unofficial-f526fdeca3c7c5038d9d737e41ebbbf1d632fb44.zip
migrate ore prefixes from gt++ and bw (#1792)
OrePrefixes are used in switch case a lot and this prevents it from being a valid EnumHelper target. Under the hood for huge enum switch cases, javac will generate a synthetic class with a synthetic static final int[] field to hold switch map. If the OrePrefixes is ever extended, said switch map will be smaller than actual and cause ArrayIndexOutOfBoundException. This moves all addon added ore prefixes back to main mod. This also cleans up the obnoxious comment blocks created by spotless.
Diffstat (limited to 'src/main/java/gregtech/common')
0 files changed, 0 insertions, 0 deletions