October 15, 20222 yr comment_81840 On 10/27/2017 at 9:16 PM, Bananastreet said: Hey boys and grills, These kids in the Discord chat are like, "You don't contribute anything to the website." Well I'll show them losers. So, I used this on the simplicity source, but it should work on all ruse related servers. Make a new file in This is the hidden content, please Sign In or Sign Up I called it "MagicOnObjectPacketListener" so I kept the naming scheme throughout. Add the contents in that file. This is the hidden content, please Sign In or Sign Up You'll probably get a few errors telling you that "CHARGE_WATER_ORB" and the others don't exist. On to step 2: Add these spells in your MagicSpells enum: This is the hidden content, please Sign In or Sign Up Then at last we need to call the MagicOnPacketListener into the packets. Open up PacketConstants and add this with the other magic on stuff to keep it close together. This is the hidden content, please Sign In or Sign Up Remember to make all of your imports. Which is Ctrl + Shift + O in eclipse. If I missed anything let me know, and on a side note, I know this isn't complete, or done "properly", I just used it to test if the packet was working, and whether I could actually perform the spell on the object. This is the hidden content, please Sign In or Sign Up thanks for this
Create an account or sign in to comment