Handle AOOBX (not sure why yet)

This commit is contained in:
Mike Primm 2022-07-24 17:06:28 -05:00
parent d88ebb0d20
commit 8e27d5defd
3 changed files with 7 additions and 3 deletions

View File

@ -2542,7 +2542,11 @@ public class TexturePack {
else { else {
faceindex = laststep.ordinal(); faceindex = laststep.ordinal();
} }
textid = map.faces[faceindex]; try {
textid = map.faces[faceindex];
} catch (ArrayIndexOutOfBoundsException aioob) {
textid = -1
}
if (ctm != null) { if (ctm != null) {
int mod = 0; int mod = 0;
if(textid >= COLORMOD_MULT_INTERNAL) { if(textid >= COLORMOD_MULT_INTERNAL) {

View File

@ -38,7 +38,7 @@ allprojects {
apply plugin: 'java' apply plugin: 'java'
group = 'us.dynmap' group = 'us.dynmap'
version = '3.4-SNAPSHOT' version = '3.4-beta-5'
} }

View File

@ -25,7 +25,7 @@ allprojects {
apply plugin: 'java' apply plugin: 'java'
group = 'us.dynmap' group = 'us.dynmap'
version = '3.4-SNAPSHOT' version = '3.4-beta-5'
} }