Changeset f216bbae8f0b058e4aecac270f324f5ab5a2ad6c
- Timestamp:
- 04/05/08 14:00:26
(6 months ago)
- Author:
- Christopher Jung <bktheg@web.de>
- git-committer:
- Christopher Jung <bktheg@web.de> 1207396826 +0200
- git-parent:
[16c4457236524ba51bdec00f74dc9d8288224508]
- git-author:
- Christopher Jung <bktheg@web.de> 1207396826 +0200
- Message:
NPC-Scriptberechnung gefixt
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r1c1f80d |
rf216bba |
|
| 29 | 29 | |
|---|
| 30 | 30 | import net.driftingsouls.ds2.server.ContextCommon; |
|---|
| | 31 | import net.driftingsouls.ds2.server.Offizier; |
|---|
| | 32 | import net.driftingsouls.ds2.server.bases.Base; |
|---|
| | 33 | import net.driftingsouls.ds2.server.battles.Battle; |
|---|
| | 34 | import net.driftingsouls.ds2.server.battles.BattleShip; |
|---|
| 31 | 35 | import net.driftingsouls.ds2.server.entities.User; |
|---|
| 32 | 36 | import net.driftingsouls.ds2.server.framework.Common; |
|---|
| | 37 | import net.driftingsouls.ds2.server.framework.db.HibernateFacade; |
|---|
| 33 | 38 | import net.driftingsouls.ds2.server.scripting.EngineIdentifier; |
|---|
| 34 | 39 | import net.driftingsouls.ds2.server.scripting.NullLogger; |
|---|
| 35 | 40 | import net.driftingsouls.ds2.server.scripting.ScriptParserContext; |
|---|
| 36 | 41 | import net.driftingsouls.ds2.server.ships.Ship; |
|---|
| | 42 | import net.driftingsouls.ds2.server.ships.ShipFleet; |
|---|
| 37 | 43 | import net.driftingsouls.ds2.server.tick.TickController; |
|---|
| 38 | 44 | |
|---|
| … | … | |
| 143 | 149 | } |
|---|
| 144 | 150 | finally { |
|---|
| 145 | | db.clear(); |
|---|
| | 151 | db.evict(ship); |
|---|
| 146 | 152 | } |
|---|
| 147 | 153 | } |
|---|
| | 154 | db.evict(user); |
|---|
| | 155 | HibernateFacade.evictAll(db, Ship.class, Offizier.class, ShipFleet.class, Battle.class, BattleShip.class, Base.class); |
|---|
| 148 | 156 | } |
|---|
| 149 | 157 | } |
|---|