Changed skin cache methods to take any object as key.
This commit is contained in:
parent
89e9e1d32f
commit
146d9d9285
1 changed files with 2 additions and 2 deletions
|
@ -656,7 +656,7 @@ public final class ResponseTrans implements Externalizable {
|
||||||
*
|
*
|
||||||
* @return ...
|
* @return ...
|
||||||
*/
|
*/
|
||||||
public Skin getCachedSkin(String id) {
|
public Skin getCachedSkin(Object id) {
|
||||||
if (skincache == null) {
|
if (skincache == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
@ -670,7 +670,7 @@ public final class ResponseTrans implements Externalizable {
|
||||||
* @param id ...
|
* @param id ...
|
||||||
* @param skin ...
|
* @param skin ...
|
||||||
*/
|
*/
|
||||||
public void cacheSkin(String id, Skin skin) {
|
public void cacheSkin(Object id, Skin skin) {
|
||||||
if (skincache == null) {
|
if (skincache == null) {
|
||||||
skincache = new HashMap();
|
skincache = new HashMap();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue