forked from virt-mirrors/Sit
make sure the buf is released
This commit is contained in:
parent
c8142136f4
commit
d0872ef8f1
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ public class Sit implements ModInitializer {
|
||||||
Gson gson = new GsonBuilder().disableHtmlEscaping().create();
|
Gson gson = new GsonBuilder().disableHtmlEscaping().create();
|
||||||
playerSettings.put(player,gson.fromJson(packet.getMessage(),hashMapToken));
|
playerSettings.put(player,gson.fromJson(packet.getMessage(),hashMapToken));
|
||||||
});
|
});
|
||||||
|
buf.release();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
public static MutableText lang(String key, Object... args) {
|
public static MutableText lang(String key, Object... args) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue