All pastes #813614 Raw Edit

Something

public text v1 · immutable
·published 2007-12-12 17:43 UTC
rendered paste body
Index: java/net/sf/l2j/gameserver/model/actor/instance/L2CabaleBufferInstance.java
===================================================================
--- java/net/sf/l2j/gameserver/model/actor/instance/L2CabaleBufferInstance.java	(revision 1420)
+++ java/net/sf/l2j/gameserver/model/actor/instance/L2CabaleBufferInstance.java	(working copy)
@@ -30,11 +30,9 @@
 import net.sf.l2j.gameserver.serverpackets.ActionFailed;
 import net.sf.l2j.gameserver.serverpackets.MagicSkillUser;
 import net.sf.l2j.gameserver.serverpackets.MyTargetSelected;
-import net.sf.l2j.gameserver.serverpackets.SocialAction;
 import net.sf.l2j.gameserver.serverpackets.SystemMessage;
 import net.sf.l2j.gameserver.serverpackets.ValidateLocation;
 import net.sf.l2j.gameserver.templates.L2NpcTemplate;
-import net.sf.l2j.util.Rnd;
 
 /**
  * @author Layane
@@ -68,13 +66,6 @@
 				// Notify the L2PcInstance AI with AI_INTENTION_INTERACT
 				player.getAI().setIntention(CtrlIntention.AI_INTENTION_INTERACT, this);
 			}
-			else
-			{
-				// Send a Server->Client packet SocialAction to the all L2PcInstance on the _knownPlayer of the L2NpcInstance
-				// to display a social action of the L2NpcInstance on their client
-				SocialAction sa = new SocialAction(getObjectId(), Rnd.get(8));
-				broadcastPacket(sa);
-			}
 		}
 		// Send a Server->Client ActionFailed to the L2PcInstance in order to avoid that the client wait another packet
 		player.sendPacket(new ActionFailed());