mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-05 23:36:12 +00:00
Fixes
This commit is contained in:
@@ -203,7 +203,8 @@ public class B {
|
||||
//If we get to here, the state is okay so we can use it
|
||||
newStates.put(key, stateMap.get(key));
|
||||
|
||||
} catch (IllegalArgumentException ignored) { }
|
||||
} catch (IllegalArgumentException ignored) {
|
||||
}
|
||||
}
|
||||
|
||||
//Combine all the "good" states again
|
||||
|
||||
@@ -39,12 +39,9 @@ public class DataPalette<T> {
|
||||
return palette;
|
||||
}
|
||||
|
||||
public T get(int index)
|
||||
{
|
||||
synchronized (palette)
|
||||
{
|
||||
if(!palette.hasIndex(index))
|
||||
{
|
||||
public T get(int index) {
|
||||
synchronized (palette) {
|
||||
if (!palette.hasIndex(index)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user