sorry gia to double post.
Se etimasa ti lisi.
### Eclipse Workspace Patch 1.0
#P L2_GameServer_It
Index: java/net/sf/l2j/gameserver/model/actor/instance/L2VillageMasterInstance.java
===================================================================
--- java/net/sf/l2j/gameserver/model/actor/instance/L2VillageMasterInstance.java (revision 4449)
+++ java/net/sf/l2j/gameserver/model/actor/instance/L2VillageMasterInstance.java (working copy)
@@ -369,6 +369,12 @@
return;
}
+ if (player.isInCombat() || player.isInParty())
+ {
+ player.sendMessage("Cheat Killer:You can't change subclass when you are in a party or when you are in combat zone.");
+ return;
+ }
+
player.setActiveClass(paramOne);
content.append("Change Subclass:<br>Your active sub class is now a <font color=\"LEVEL\">"