mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-22 10:15:54 +01:00
Fix materials in 1.12- being completely busted
This commit is contained in:
parent
344911bfca
commit
662c248656
@ -1147,18 +1147,16 @@ public enum Materials {
|
||||
|
||||
// Try 1.12- names
|
||||
for (Materials mat : Materials.values()) {
|
||||
if (name.equalsIgnoreCase(mat.name()))
|
||||
|
||||
if (name.equalsIgnoreCase(mat.old12Mat)) {
|
||||
if (pmat == null) {
|
||||
pmat = mat;
|
||||
}
|
||||
|
||||
if (((byte) mat.data) == data) {
|
||||
cachedSearch.put(mat.old12Mat + "," + data, mat);
|
||||
return mat;
|
||||
}
|
||||
if (name.equalsIgnoreCase(mat.old12Mat)) {
|
||||
if (pmat == null) {
|
||||
pmat = mat;
|
||||
}
|
||||
|
||||
if (((byte) mat.data) == data) {
|
||||
cachedSearch.put(mat.old12Mat + "," + data, mat);
|
||||
return mat;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return pmat;
|
||||
|
@ -1,7 +1,7 @@
|
||||
allprojects {
|
||||
apply plugin: 'java'
|
||||
group = 'com.goodandevil.skyblock'
|
||||
version = 'Build-78.3'
|
||||
version = 'Build-78.4'
|
||||
}
|
||||
|
||||
subprojects {
|
||||
|
Loading…
Reference in New Issue
Block a user