mirror of
https://github.com/GTNewHorizons/Opis.git
synced 2026-11-24 05:54:29 +00:00
Reworked all the panels to have a much simpler Table constructor which does all the basic initialisation
and takes 2 to 4 arguments (Headers, types, align and editable). Fixed the guava derp when reregistering a CachedString.
This commit is contained in:
1 parent
926c633a0b
commit
85f274e387
19 files changed
+159
-443
No files matched your search
@@ -64,7 +64,12 @@ public enum StringCache implements IMessageHandler {
|
||||
case STATUS_STRINGUPD:{
|
||||
//modOpis.log.info("Received String Cache update");
|
||||
DataStringUpdate data = (DataStringUpdate)rawdata.value;
|
||||
this.cache.put(data.index, data.str);
|
||||
try{
|
||||
this.cache.put(data.index, data.str);
|
||||
} catch (IllegalArgumentException e){
|
||||
this.cache.remove(data.index);
|
||||
this.cache.put(data.index, data.str);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case STATUS_STRINGUPD_FULL:{
|
||||
|
||||
Reference in new issue
Block a user