Skip to content

[l2jfrozen]Error pano se kathara source

Featured Replies

Eipa na arxiso na ksanadoulepso me java pano se interlude client k kala kala dn arxisa eki p piga na do ama ginete to compile mou evgale ta parakato error eno ta source ine kathara dn exo piraxi tpt epano ston kodika tis l2jfrozen :S

episis dokimasa na to kano compile me eclipse galileo k me eclipse indigo alla tpt :S


    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:4975: incomparable types: java.lang.Enum<capture#743 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType
    [javac] 					&& ItemTable.getInstance().createDummyItem(itemId).getItemType() == L2EtcItemType.HERB 
    [javac] 					                                                                 ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:4976: incomparable types: java.lang.Enum<capture#232 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType
    [javac] 					|| ItemTable.getInstance().createDummyItem(itemId).getItemType() != L2EtcItemType.HERB))
    [javac] 					                                                                 ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:5016: incomparable types: java.lang.Enum<capture#924 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType
    [javac] 			if(ItemTable.getInstance().createDummyItem(itemId).getItemType() == L2EtcItemType.HERB) //If item is herb dont add it to iv :]
    [javac] 			                                                                 ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6706: incomparable types: java.lang.Enum<capture#59 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType
    [javac] 		if(target.getItemType() == L2EtcItemType.HERB)
    [javac] 		                        ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6728: inconvertible types
    [javac] found   : java.lang.Enum<capture#781 of ?>
    [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType
    [javac] 			if(target.getItemType() instanceof L2ArmorType || target.getItemType() instanceof L2WeaponType || target.getItem() instanceof L2Armor || target.getItem() instanceof L2Weapon)
    [javac] 			                     ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6728: inconvertible types
    [javac] found   : java.lang.Enum<capture#948 of ?>
    [javac] required: com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 			if(target.getItemType() instanceof L2ArmorType || target.getItemType() instanceof L2WeaponType || target.getItem() instanceof L2Armor || target.getItem() instanceof L2Weapon)
    [javac] 			                                                                    ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6753: incomparable types: java.lang.Enum<capture#569 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType
    [javac] 				if(target.getItem() != null && target.getItem().getItemType() == L2EtcItemType.ARROW)
    [javac] 				                                                              ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6932: inconvertible types
    [javac] found   : java.lang.Enum<capture#20 of ?>
    [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType
    [javac] 			if ((L2ArmorType)legs.getItemType() == L2ArmorType.HEAVY
    [javac] 			                                 ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6933: inconvertible types
    [javac] found   : java.lang.Enum<capture#334 of ?>
    [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType
    [javac] 					&& ((L2ArmorType)armor.getItemType() == L2ArmorType.HEAVY))
    [javac] 					                                  ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6939: inconvertible types
    [javac] found   : java.lang.Enum<capture#872 of ?>
    [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType
    [javac] 					&& (L2ArmorType)armor.getItemType() == L2ArmorType.HEAVY))
    [javac] 					                                 ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6957: inconvertible types
    [javac] found   : java.lang.Enum<capture#421 of ?>
    [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType
    [javac] 			if ((L2ArmorType)legs.getItemType() == L2ArmorType.LIGHT
    [javac] 			                                 ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6958: inconvertible types
    [javac] found   : java.lang.Enum<capture#94 of ?>
    [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType
    [javac] 					&& ((L2ArmorType)armor.getItemType() == L2ArmorType.LIGHT))
    [javac] 					                                  ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6964: inconvertible types
    [javac] found   : java.lang.Enum<capture#748 of ?>
    [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType
    [javac] 					&& (L2ArmorType)armor.getItemType() == L2ArmorType.LIGHT))
    [javac] 					                                 ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6982: inconvertible types
    [javac] found   : java.lang.Enum<capture#4 of ?>
    [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType
    [javac] 			if ((L2ArmorType)legs.getItemType() == L2ArmorType.MAGIC
    [javac] 			                                 ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6983: inconvertible types
    [javac] found   : java.lang.Enum<capture#74 of ?>
    [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType
    [javac] 					&& ((L2ArmorType)armor.getItemType() == L2ArmorType.MAGIC))
    [javac] 					                                  ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6989: inconvertible types
    [javac] found   : java.lang.Enum<capture#189 of ?>
    [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType
    [javac] 					&& (L2ArmorType)armor.getItemType() == L2ArmorType.MAGIC))
    [javac] 					                                 ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\templates\L2Weapon.java:141: inconvertible types
    [javac] found   : java.lang.Enum<capture#87 of ?>
    [javac] required: com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 		return (L2WeaponType) super._type;
    [javac] 		                           ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\TradeList.java:344: incomparable types: java.lang.Enum<capture#479 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType
    [javac] 			|| item.getItemType() == L2EtcItemType.QUEST)
    [javac] 			                      ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\TradeList.java:408: incomparable types: java.lang.Enum<capture#938 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType
    [javac] 		if(!item.isTradeable() || item.getItemType() == L2EtcItemType.QUEST)
    [javac] 		                                             ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\Inventory.java:210: incomparable types: java.lang.Enum<capture#719 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 			if(item.getItemType() == L2WeaponType.BOW)
    [javac] 			                      ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\Inventory.java:253: incomparable types: java.lang.Enum<capture#881 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 			if(item.getItemType() == L2WeaponType.BOW)
    [javac] 			                      ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\Inventory.java:1330: incomparable types: java.lang.Enum<capture#412 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType
    [javac] 				if(!(item.getItem() instanceof L2EtcItem) || item.getItem().getItemType() != L2EtcItemType.ARROW)
    [javac] 				                                                                          ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\PcInventory.java:733: incomparable types: java.lang.Enum<capture#770 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType
    [javac] 		if(!(item.isStackable() && getItemByItemId(item.getItemId()) != null) && item.getItemType() != L2EtcItemType.HERB)
    [javac] 		                                                                                            ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\PcInventory.java:786: incomparable types: java.lang.Enum<capture#959 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType
    [javac] 		if(!(item.isStackable() && getItemByItemId(item.getItemId()) != null) && item.getItemType() != L2EtcItemType.HERB)
    [javac] 		                                                                                            ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\ShortCuts.java:134: incomparable types: java.lang.Enum<capture#928 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType
    [javac] 			if(item != null && item.getItemType() == L2EtcItemType.SHOT)
    [javac] 			                                      ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\L2Attackable.java:2520: incomparable types: java.lang.Enum<capture#721 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType
    [javac] 				if(Config.AUTODESTROY_ITEM_AFTER > 0 && ditem.getItemType() != L2EtcItemType.HERB || Config.HERB_AUTO_DESTROY_TIME > 0 && ditem.getItemType() == L2EtcItemType.HERB)
    [javac] 				                                                            ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\L2Attackable.java:2520: incomparable types: java.lang.Enum<capture#884 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType
    [javac] 				if(Config.AUTODESTROY_ITEM_AFTER > 0 && ditem.getItemType() != L2EtcItemType.HERB || Config.HERB_AUTO_DESTROY_TIME > 0 && ditem.getItemType() == L2EtcItemType.HERB)
    [javac] 				                                                                                                                                              ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\templates\L2Armor.java:82: inconvertible types
    [javac] found   : java.lang.Enum<capture#730 of ?>
    [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType
    [javac] 		return (L2ArmorType) super._type;
    [javac] 		                          ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\datatables\sql\ItemTable.java:338: incomparable types: java.lang.Enum<capture#56 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 		if(item.type == L2WeaponType.NONE)
    [javac] 		             ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\datatables\sql\ItemTable.java:387: incomparable types: java.lang.Enum<capture#62 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 		if(item.type == L2WeaponType.PET)
    [javac] 		             ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\datatables\sql\ItemTable.java:462: incomparable types: java.lang.Enum<capture#183 of ?> and com.l2jfrozen.gameserver.templates.L2ArmorType
    [javac] 		if(item.type == L2ArmorType.PET)
    [javac] 		             ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\templates\L2EtcItem.java:48: inconvertible types
    [javac] found   : java.lang.Enum<capture#314 of ?>
    [javac] required: com.l2jfrozen.gameserver.templates.L2EtcItemType
    [javac] 		return (L2EtcItemType) super._type;
    [javac] 		                            ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\handler\skillhandlers\Blow.java:159: incomparable types: java.lang.Enum<capture#214 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 					soul = (ss && (weapon.getItemType() == L2WeaponType.DAGGER ));
    [javac] 					                                    ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\handler\skillhandlers\Pdam.java:137: incomparable types: java.lang.Enum<capture#129 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 				soul = (ss && weapon.getItemType() != L2WeaponType.DAGGER);
    [javac] 				                                   ^

sinexia sto epomeno post

  • Author

    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\handler\skillhandlers\StrSiegeAssault.java:107: incomparable types: java.lang.Enum<capture#510 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 				boolean soul = (weapon != null && weapon.getChargedSoulshot() == L2ItemInstance.CHARGED_SOULSHOT && weapon.getItemType() != L2WeaponType.DAGGER);
    [javac] 				                                                                                                                         ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\managers\ItemsOnGroundManager.java:167: incomparable types: java.lang.Enum<capture#391 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType
    [javac] 							if(Config.AUTODESTROY_ITEM_AFTER > 0 && item.getItemType() != L2EtcItemType.HERB || Config.HERB_AUTO_DESTROY_TIME > 0 && item.getItemType() == L2EtcItemType.HERB)
    [javac] 							                                                           ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\managers\ItemsOnGroundManager.java:167: incomparable types: java.lang.Enum<capture#770 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType
    [javac] 							if(Config.AUTODESTROY_ITEM_AFTER > 0 && item.getItemType() != L2EtcItemType.HERB || Config.HERB_AUTO_DESTROY_TIME > 0 && item.getItemType() == L2EtcItemType.HERB)
    [javac] 							                                                                                                                                            ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\network\clientpackets\RequestDropItem.java:96: incomparable types: java.lang.Enum<capture#364 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType
    [javac] 		if(item.getItemType() == L2EtcItemType.QUEST && !(activeChar.isGM() && Config.GM_TRADE_RESTRICTED_ITEMS))
    [javac] 		                      ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\network\clientpackets\RequestEnchantItem.java:125: incomparable types: java.lang.Enum<capture#703 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 		if(item.getItem().getItemType() == L2WeaponType.ROD || item.isShadowItem())
    [javac] 		                                ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\network\clientpackets\RequestPackageSend.java:157: incomparable types: java.lang.Enum<capture#918 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType
    [javac] 			if(!item.isTradeable() || item.getItemType() == L2EtcItemType.QUEST)
    [javac] 			                                             ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\network\clientpackets\SendWareHouseDepositList.java:168: incomparable types: java.lang.Enum<capture#324 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType
    [javac] 			if(warehouse instanceof ClanWarehouse && !item.isTradeable() || item.getItemType() == L2EtcItemType.QUEST)
    [javac] 			                                                                                   ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\skills\DocumentItem.java:162: inconvertible types
    [javac] found   : java.lang.Enum<capture#844 of ?>
    [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType
    [javac] 		if(_currentItem.type instanceof L2ArmorType)
    [javac] 		               ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\skills\DocumentItem.java:164: inconvertible types
    [javac] found   : java.lang.Enum<capture#533 of ?>
    [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType
    [javac] 			_currentItem.item = new L2Armor((L2ArmorType) _currentItem.type, _currentItem.set);
    [javac] 			                                                          ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\skills\DocumentItem.java:166: inconvertible types
    [javac] found   : java.lang.Enum<capture#207 of ?>
    [javac] required: com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 		else if(_currentItem.type instanceof L2WeaponType)
    [javac] 		                    ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\skills\DocumentItem.java:168: inconvertible types
    [javac] found   : java.lang.Enum<capture#217 of ?>
    [javac] required: com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 			_currentItem.item = new L2Weapon((L2WeaponType) _currentItem.type, _currentItem.set);
    [javac] 			                                                            ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\skills\DocumentItem.java:170: inconvertible types
    [javac] found   : java.lang.Enum<capture#234 of ?>
    [javac] required: com.l2jfrozen.gameserver.templates.L2EtcItemType
    [javac] 		else if(_currentItem.type instanceof L2EtcItemType)
    [javac] 		                    ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\skills\DocumentItem.java:172: inconvertible types
    [javac] found   : java.lang.Enum<capture#116 of ?>
    [javac] required: com.l2jfrozen.gameserver.templates.L2EtcItemType
    [javac] 			_currentItem.item = new L2EtcItem((L2EtcItemType) _currentItem.type, _currentItem.set);
    [javac] 			                                                              ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\skills\SkillsEngine.java:152: inconvertible types
    [javac] found   : java.lang.Enum<capture#929 of ?>
    [javac] required: com.l2jfrozen.gameserver.templates.L2EtcItemType
    [javac] 				list.add(new L2EtcItem((L2EtcItemType) item.type, item.set));
    [javac] 				                                           ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:106: incomparable types: java.lang.Enum<capture#312 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 				if(itemType == L2WeaponType.BOW)
    [javac] 				            ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:110: incomparable types: java.lang.Enum<capture#264 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 				else if(itemType == L2WeaponType.DUALFIST || itemType == L2WeaponType.DUAL || itemType == L2WeaponType.SWORD && item.getItem().getBodyPart() == 16384)
    [javac] 				                 ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:110: incomparable types: java.lang.Enum<capture#815 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 				else if(itemType == L2WeaponType.DUALFIST || itemType == L2WeaponType.DUAL || itemType == L2WeaponType.SWORD && item.getItem().getBodyPart() == 16384)
    [javac] 				                                                      ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:110: incomparable types: java.lang.Enum<capture#143 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 				else if(itemType == L2WeaponType.DUALFIST || itemType == L2WeaponType.DUAL || itemType == L2WeaponType.SWORD && item.getItem().getBodyPart() == 16384)
    [javac] 				                                                                                       ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:120: incomparable types: java.lang.Enum<capture#145 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 				if(itemType == L2WeaponType.BOW)
    [javac] 				            ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:124: incomparable types: java.lang.Enum<capture#194 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 				else if(itemType == L2WeaponType.DUALFIST || itemType == L2WeaponType.DUAL || itemType == L2WeaponType.SWORD && item.getItem().getBodyPart() == 16384)
    [javac] 				                 ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:124: incomparable types: java.lang.Enum<capture#327 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 				else if(itemType == L2WeaponType.DUALFIST || itemType == L2WeaponType.DUAL || itemType == L2WeaponType.SWORD && item.getItem().getBodyPart() == 16384)
    [javac] 				                                                      ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:124: incomparable types: java.lang.Enum<capture#587 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 				else if(itemType == L2WeaponType.DUALFIST || itemType == L2WeaponType.DUAL || itemType == L2WeaponType.SWORD && item.getItem().getBodyPart() == 16384)
    [javac] 				                                                                                       ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:134: incomparable types: java.lang.Enum<capture#770 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 				if(itemType == L2WeaponType.BOW)
    [javac] 				            ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:138: incomparable types: java.lang.Enum<capture#479 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 				else if(itemType == L2WeaponType.DUALFIST || itemType == L2WeaponType.DUAL || itemType == L2WeaponType.SWORD && item.getItem().getBodyPart() == 16384)
    [javac] 				                 ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:138: incomparable types: java.lang.Enum<capture#582 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 				else if(itemType == L2WeaponType.DUALFIST || itemType == L2WeaponType.DUAL || itemType == L2WeaponType.SWORD && item.getItem().getBodyPart() == 16384)
    [javac] 				                                                      ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:138: incomparable types: java.lang.Enum<capture#987 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 				else if(itemType == L2WeaponType.DUALFIST || itemType == L2WeaponType.DUAL || itemType == L2WeaponType.SWORD && item.getItem().getBodyPart() == 16384)
    [javac] 				                                                                                       ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:149: incomparable types: java.lang.Enum<capture#502 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 				if(itemType == L2WeaponType.BOW)
    [javac] 				            ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:159: incomparable types: java.lang.Enum<capture#244 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 				if(itemType == L2WeaponType.BOW)
    [javac] 				            ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:163: incomparable types: java.lang.Enum<capture#158 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 				else if(itemType == L2WeaponType.DUALFIST || itemType == L2WeaponType.DUAL || itemType == L2WeaponType.SWORD && item.getItem().getBodyPart() == 16384)
    [javac] 				                 ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:163: incomparable types: java.lang.Enum<capture#559 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 				else if(itemType == L2WeaponType.DUALFIST || itemType == L2WeaponType.DUAL || itemType == L2WeaponType.SWORD && item.getItem().getBodyPart() == 16384)
    [javac] 				                                                      ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:163: incomparable types: java.lang.Enum<capture#195 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 				else if(itemType == L2WeaponType.DUALFIST || itemType == L2WeaponType.DUAL || itemType == L2WeaponType.SWORD && item.getItem().getBodyPart() == 16384)
    [javac] 				                                                                                       ^
    [javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\thread\daemons\ItemsAutoDestroy.java:87: incomparable types: java.lang.Enum<capture#380 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType
    [javac] 				if(item.getItemType() == L2EtcItemType.HERB)
    [javac] 				                      ^
    [javac] 66 errors

ama kseri kanis pos mporo na to fixaro parakalo na m to pi :)

to error lithike ama mporite lock to post ty :)

Locked.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.