Commit b760fb1b authored by Melledy's avatar Melledy
Browse files

Fix morphia error when saving player to db

parent 000b1098
package emu.grasscutter.game.tower;
import dev.morphia.annotations.Entity;
import dev.morphia.annotations.Transient;
import emu.grasscutter.data.GameData;
import emu.grasscutter.game.player.Player;
import emu.grasscutter.server.packet.send.PacketTowerEnterLevelRsp;
......@@ -9,11 +10,12 @@ import java.util.List;
@Entity
public class TowerManager {
private final Player player;
@Transient private final Player player;
public TowerManager(Player player) {
this.player = player;
}
private int currentLevel;
private int currentFloor;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment