Jump to content
  • 0

L2J-Eclipse compile bug


Question

Posted

Rev: Newest

[javac] C:\Server\workspace\L2_Gameserver\java\net\sf\l2j\gameserver\datatables\ItemTable.java:295: incomparable types: java.lang.Enum<capture#258 of ?> and net.sf.l2j.gameserver.templates.L2WeaponType
   [javac]         if (item.type == L2WeaponType.NONE)
   [javac]                       ^
   [javac] C:\Server\workspace\L2_Gameserver\java\net\sf\l2j\gameserver\datatables\ItemTable.java:345: incomparable types: java.lang.Enum<capture#83 of ?> and net.sf.l2j.gameserver.templates.L2WeaponType
   [javac]         if (item.type == L2WeaponType.PET)
   [javac]                       ^
   [javac] C:\Server\workspace\L2_Gameserver\java\net\sf\l2j\gameserver\datatables\ItemTable.java:416: incomparable types: java.lang.Enum<capture#909 of ?> and net.sf.l2j.gameserver.templates.L2ArmorType
   [javac]         if (item.type == L2ArmorType.PET)
   [javac]                       ^
   [javac] C:\Server\workspace\L2_Gameserver\java\net\sf\l2j\gameserver\handler\itemhandlers\Potions.java:415: incomparable types: net.sf.l2j.gameserver.model.L2Effect.EffectType and java.lang.Enum<capture#179 of ?>
   [javac] 			if (e.getEffectType() == effectType)
   [javac] 			                      ^
   [javac] C:\Server\workspace\L2_Gameserver\java\net\sf\l2j\gameserver\skills\DocumentItem.java:155: inconvertible types
   [javac] found   : java.lang.Enum<capture#562 of ?>
   [javac] required: net.sf.l2j.gameserver.templates.L2ArmorType
   [javac]         if (_currentItem.type instanceof L2ArmorType) _currentItem.item = new L2Armor(
   [javac]                         ^
   [javac] C:\Server\workspace\L2_Gameserver\java\net\sf\l2j\gameserver\skills\DocumentItem.java:156: inconvertible types
   [javac] found   : java.lang.Enum<capture#812 of ?>
   [javac] required: net.sf.l2j.gameserver.templates.L2ArmorType
   [javac]         		(L2ArmorType) _currentItem.type, _currentItem.set);
   [javac]         		                          ^
   [javac] C:\Server\workspace\L2_Gameserver\java\net\sf\l2j\gameserver\skills\DocumentItem.java:157: inconvertible types
   [javac] found   : java.lang.Enum<capture#63 of ?>
   [javac] required: net.sf.l2j.gameserver.templates.L2WeaponType
   [javac]         else if (_currentItem.type instanceof L2WeaponType) _currentItem.item = new L2Weapon(
   [javac]                              ^
   [javac] C:\Server\workspace\L2_Gameserver\java\net\sf\l2j\gameserver\skills\DocumentItem.java:158: inconvertible types
   [javac] found   : java.lang.Enum<capture#461 of ?>
   [javac] required: net.sf.l2j.gameserver.templates.L2WeaponType
   [javac]         		(L2WeaponType) _currentItem.type, _currentItem.set);
   [javac]         		                           ^
   [javac] C:\Server\workspace\L2_Gameserver\java\net\sf\l2j\gameserver\skills\DocumentItem.java:159: inconvertible types
   [javac] found   : java.lang.Enum<capture#583 of ?>
   [javac] required: net.sf.l2j.gameserver.templates.L2EtcItemType
   [javac]         else if (_currentItem.type instanceof L2EtcItemType) _currentItem.item = new L2EtcItem(
   [javac]                              ^
   [javac] C:\Server\workspace\L2_Gameserver\java\net\sf\l2j\gameserver\skills\DocumentItem.java:160: inconvertible types
   [javac] found   : java.lang.Enum<capture#474 of ?>
   [javac] required: net.sf.l2j.gameserver.templates.L2EtcItemType
   [javac]         		(L2EtcItemType) _currentItem.type, _currentItem.set);
   [javac]         		                            ^
   [javac] C:\Server\workspace\L2_Gameserver\java\net\sf\l2j\gameserver\skills\SkillsEngine.java:147: inconvertible types
   [javac] found   : java.lang.Enum<capture#249 of ?>
   [javac] required: net.sf.l2j.gameserver.templates.L2EtcItemType
   [javac]                 list.add(new L2EtcItem((L2EtcItemType)item.type, item.set));
   [javac]                                                           ^
   [javac] Note: C:\Server\workspace\L2_Gameserver\java\net\sf\l2j\gameserver\GeoEngine.java uses or overrides a deprecated API.
   [javac] Note: Recompile with -Xlint:deprecation for details.
   [javac] 11 errors

BUILD FAILED

 

How to fix ?

2 answers to this question

Recommended Posts

  • 0
Posted

Please do not report here again, we have a forum.

We are inactive for a few days we will start working soon and the project will open.

 

Guest
This topic is now closed to further replies.


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock