|
@@ -45,7 +45,7 @@ public class PostBBSManager extends BaseBBSManager
|
|
post = _postByTopic.get(t);
|
|
post = _postByTopic.get(t);
|
|
if (post == null)
|
|
if (post == null)
|
|
{
|
|
{
|
|
- post = load(t);
|
|
|
|
|
|
+ post = new Post(t);
|
|
_postByTopic.put(t, post);
|
|
_postByTopic.put(t, post);
|
|
}
|
|
}
|
|
return post;
|
|
return post;
|
|
@@ -67,17 +67,6 @@ public class PostBBSManager extends BaseBBSManager
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- /**
|
|
|
|
- * @param t
|
|
|
|
- * @return
|
|
|
|
- */
|
|
|
|
- private Post load(Topic t)
|
|
|
|
- {
|
|
|
|
- Post p;
|
|
|
|
- p = new Post(t);
|
|
|
|
- return p;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
@Override
|
|
@Override
|
|
public void parsecmd(String command, L2PcInstance activeChar)
|
|
public void parsecmd(String command, L2PcInstance activeChar)
|
|
{
|
|
{
|