Hi all, I'm trying to add the rebirth patch to the newest revision of l2j manually. The problem I have is that when I try to add this code in eclipse WorldHandler.java does not exist. Do I have to create a new java source file named Worldhandler.java ? If so how to I add it ? Thanks
❖Items that are sent by physical delivery are sent using someone else's data. That is, if you are not able to accept the parcel, we will not be able to return it. Please keep this in mind.
READY IN STOCK
PAYMENT SYSTEMS
4x4 io, Weststein, Paysafecard, Paysend, Genome, Conotoxia, Mybrocard, Payz Silver, Pockit UK, NagaPay, Volet com, SpectroCoin, SwissMoney, Yuh, Lydia / Sumeria, Ka.App, Wittix, Western Union, MyGuava, Xapo Bank, Bunq on emulator (DE, NL, FR, ES, IE ibans), Revolut on emulator (UK/EU), ICard, BlackCatCard, Vivid DE, Bankera, Bitsa, Wise EU/UK, N26 DE/ES on emulator, Skrill, Neteller, Trasta, Wirex, Lama, Paysera, Moneyjar
CRYPTOEXCHANGE
BINGX com, Bybit LVL 2, KuCoin, Binance LVL 2, Mexc, Latoken, Poloniex, Bitmart, Kraken, WhiteBit, Quppy, Nexo, Gate, OKX, Paybis, Paxful, Huobi (HTX), xcoins com, Bit2Me
BUSINESS ACCOUNTS
Stripe, Payoneer EU, Wise Business UK/EU, Revolut Business EU/UK, N26 Business DE, Wallester Business EU, Kraken Business Pro, Monzo Business, Vivid Business, Zen Business EU, Millennium Business PL, AirWallex EU/UK, Finom business, PayPal business, Payset business
NATIONAL BANKS / BANKS
BBVA, CommerzBank, ING, Santander, Kaspi Bank, Sberbank, AlfaBank, Tbank, Raiffeisen, mBank, Paribas, Bereke Bank, Kapital Bank
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/hood-services
https://campsite.bio/utchihaamkt
Question
Ethen
Hi all, I'm trying to add the rebirth patch to the newest revision of l2j manually. The problem I have is that when I try to add this code in eclipse WorldHandler.java does not exist. Do I have to create a new java source file named Worldhandler.java ? If so how to I add it ? Thanks
===================================================================
--- java/net/sf/l2j/gameserver/handler/WorldHandler.java (revision 0)
+++ java/net/sf/l2j/gameserver/handler/WorldHandler.java (revision 0)
-0,0 +1,38 @@
+package net.sf.l2j.gameserver.handler;
+
+import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
+
+import net.sf.l2j.gameserver.model.entity.RebirthManager;
+
+/**
+ *This will simply manage any custom 'Enter World callers' needed.<br>
+ *Rather then having to add them to the core's. (yuck!)
+ *
+ * @author JStar
+ */
+public class WorldHandler{
+
+ private static WorldHandler _instance = null;
+
+ private WorldHandler(){
+ //Do Nothing ^_-
+ }
+
+ /** Receives the non-static instance of the RebirthManager.*/
+ public static WorldHandler getInstance(){
+ if(_instance == null){
+ _instance = new WorldHandler();
+ }
+ return _instance;
+ }
+
+ /** Requests entry into the world - manages appropriately. */
+ public void enterWorld(L2PcInstance player){
+ RebirthManager.getInstance().grantRebirthSkills(player);
+ }
+
+ /** Requests removal from the world - manages appropriately. */
+ public void exitWorld(L2PcInstance player){
+ }
+
+}
2 answers to this question
Recommended Posts