2
0
Эх сурвалжийг харах

Another condition fix.
L2EtcItemType is shifting for more then 32 bits causing to override the weapon masks.
This ends in override of L2WeaponMask with L2EtcItemMask (L2EtcItem.BOLT is equal to L2WeaponType.BOW).

Forsaiken 15 жил өмнө
parent
commit
ab39d43b60

+ 1 - 1
L2_GameServer/java/com/l2jserver/gameserver/templates/item/L2EtcItemType.java

@@ -55,7 +55,7 @@ public enum L2EtcItemType
 	 */
 	public int mask()
 	{
-		return 1 << (_id + 24);
+		return 0;
 	}
 	
 	/**