forked from External/mage
Server: fixed NPE error on wrong AI usage in new game dialogs (fixes #7556);
This commit is contained in:
parent
82f40f04ae
commit
42364f7e27
5 changed files with 34 additions and 24 deletions
|
|
@ -471,7 +471,7 @@ public class CardSelector extends javax.swing.JPanel implements ComponentListene
|
|||
|
||||
private void debugObjectMemorySize(String name, Object object) {
|
||||
// just debug code, don't use it in production
|
||||
// need 2x memory for find a size
|
||||
// need 2x memory to find a size
|
||||
try {
|
||||
ByteArrayOutputStream baos = new ByteArrayOutputStream();
|
||||
ObjectOutputStream oos = new ObjectOutputStream(baos);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue