mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-07 22:13:40 -04:00
Fixed some transient variable errors as well as ODB loading etiquette
This commit is contained in:
@@ -37,6 +37,8 @@ import resources.objects.creature.CreatureObject;
|
||||
import resources.player.Player;
|
||||
import utilities.Encoder;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.ObjectInputStream;
|
||||
import java.io.Serializable;
|
||||
import java.nio.ByteBuffer;
|
||||
import java.util.HashMap;
|
||||
@@ -55,6 +57,12 @@ public class GroupObject extends SWGObject { // Extends INTO or TANO?
|
||||
|
||||
public GroupObject(long objectId) {
|
||||
super(objectId, Baseline.BaselineType.GRUP);
|
||||
pickupPointTimer = new PickupPointTimer();
|
||||
}
|
||||
|
||||
private void readObject(ObjectInputStream ois) throws ClassNotFoundException, IOException {
|
||||
ois.defaultReadObject();
|
||||
pickupPointTimer = new PickupPointTimer();
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -177,10 +185,6 @@ public class GroupObject extends SWGObject { // Extends INTO or TANO?
|
||||
start = Packet.getInt(data);
|
||||
end = Packet.getInt(data);
|
||||
}
|
||||
|
||||
public int decrement() {
|
||||
return --end;
|
||||
}
|
||||
}
|
||||
|
||||
private static class GroupMember implements Serializable, Encodable {
|
||||
|
||||
Reference in New Issue
Block a user