All pastes #35062 Raw Edit

Unnamed

public text v1 · immutable
#35062 ·published 2005-12-28 14:58 UTC
rendered paste body
***************
*** 41,47 ****

      // =========================================================
      // Data Field
!     private L2PcInstance _Player;
      private List<AutoSpawnInstance> _autoSpawns = new FastList<AutoSpawnInstan
      private List<L2Spawn> _Spawns = new FastList<L2Spawn>();

--- 41,47 ----

      // =========================================================
      // Data Field
!     private String _Player;
      private List<AutoSpawnInstance> _autoSpawns = new FastList<AutoSpawnInstan
      private List<L2Spawn> _Spawns = new FastList<L2Spawn>();

***************
*** 49,55 ****
      // Constructor
      public QuestPcSpawn(L2PcInstance player)
      {
!         _Player = player;
      }

      // =========================================================
--- 49,55 ----
      // Constructor
      public QuestPcSpawn(L2PcInstance player)
      {
!         _Player = player.getName();
      }

      // =========================================================
***************
*** 342,348 ****
       */
      public L2PcInstance getPlayer()
      {
!         return _Player;
      }

      /**
--- 342,348 ----
       */
      public L2PcInstance getPlayer()
      {
!         return L2World.getInstance().getPlayer(_Player);
      }

      /**