Fixed a bug where players who had an ent buff on logout couldnt login

This commit is contained in:
Light2
2014-04-01 15:49:08 +02:00
parent 98bed55d07
commit e324cd1cba
2 changed files with 3 additions and 1 deletions
+3
View File
@@ -21,6 +21,9 @@
******************************************************************************/
package resources.objects;
import com.sleepycat.persist.model.Persistent;
@Persistent
public class BuffItem {
private int affectAmount;
private int entertainerBonus;
-1
View File
@@ -264,7 +264,6 @@ public class ConnectionService implements INetworkDispatch {
object.setPerformanceListenee(null);
object.setPerformanceWatchee(null);
object.setAttachment("disconnectTask", null);
object.setAttachment("buffWorkshop", null);
object.createTransaction(core.getCreatureODB().getEnvironment());
core.getCreatureODB().put(object, Long.class, CreatureObject.class, object.getTransaction());