Hi, Eclipse give me error in file AdminCTFEngine.java in this part:
CTF.sit()
The method sit() is undefined for the type CTF
maybe you forget add this method in CTF.java:
Index: java/com/l2jserver/gameserver/model/entity/CTF.java
===================================================================
--- java/com/l2jserver/gameserver/model/entity/CTF.java (révision 0)
+++ java/com/l2jserver/gameserver/model/entity/CTF.java (révision 0)
@@ -1947,6 +1951,7 @@
unspawnEventNpc();
unspawnAllFlags();
teleportFinish();
}
+
+ public static void sit()
+ {
+ if (_sitForced)
+ _sitForced = false;
+ else
+ _sitForced = true;
+
+ for (L2PcInstance player : _players)
+ {
+ if (player != null)
+ {
+ if (_sitForced)
+ {
+ player.stopMove(null, false);
+ player.abortAttack();
+ player.abortCast();
+
+ if (!player.isSitting())
+ player.sitDown();
+ }
+ else
+ {
+ if (player.isSitting())
+ player.standUp();
+ }
+ }
+ }
+ }
+
public static void dumpData()
{
_log.warning("");