#Added a condition to an if statement and it stopped my entire plugin from working...

1 messages · Page 1 of 1 (latest)

spiral vault
#

Someone was helping me create a total invisibility system that would also prevent players from seeing their armor. This was done with packet events and I added a condition to the system so that it would only add the total invisibility when it was activated but when I added the conditions and ran the plugin it did absolutely nothing(with no errors). I know all the other systems were working and prior to adding the condition to the if statement it was working

#

@icy tulip @crude plinth (kaspian was helping me)

#

momentarily i'll send my code

crude plinth
#

@icy tulip he says his code doesnt work if if statement doesnt go forwards in code

#

but like entire code

#

seems weird to me

icy tulip
#

lets see

spiral vault
#

The class inside my code that contains the if statement is the PacketEventListeners class

spiral vault
#

@icy tulip (sorry for ping but doesn't seem like you've read this)

icy tulip
#

it would be easier to have put this on github if you planned to open source it

#

but lets see

#

i recently got on pc

#

so i can open the zips

spiral vault
#

For some reason github doesn't like how I store my projects which prevents me from putting it on github