Import question.

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Meydex
Posts: 25
Joined: Wed Aug 17, 2016 10:19 pm

Import question.

Post by Meydex »

Hello,
I am working on a custom item that teleports the player wherever he wants with a delay.
However I can't seem to have my custom bypass work since I registered the class as a handler in datapack and the RequestBypassToServer class is obviously located in server.
My question might be dumb but would importing the handler (from the datapack) work in RequestBypassToServer.java (core) ?
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

Re: Import question.

Post by Zoey76 »

You can make it work directly in the core, but I'd recommend investing more time to make it unhardcoded in the datapack.

Check item handlers, for example.
Powered by Eclipse 4.30 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.2.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
Post Reply