Ver Fonte

fix for enabling item handlers, thx kerb

janiii há 16 anos atrás
pai
commit
f8e2087954

+ 1 - 1
L2_GameServer/java/net/sf/l2j/gameserver/handler/ItemHandler.java

@@ -84,7 +84,7 @@ public class ItemHandler
 			return null;
 		for (IItemHandler iih : _datatable)
 		{
-			if (iih.getClass().getName() == handler)
+			if (iih.getClass().getName().endsWith(handler))
 				return iih;
 		}
 		return null;