This commit is contained in:
Daniel Mills
2021-08-04 21:50:10 -04:00
parent ad324df937
commit baa3cfa636
176 changed files with 500 additions and 592 deletions

View File

@@ -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

View File

@@ -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;
}