#Gradle subproject issue

1 messages · Page 1 of 1 (latest)

covert patrol
#

so

#

ah

#

i used if and else if to make the manager working

visual wolf
#

Gradle subproject issue

covert patrol
#

and used Bukkit.getBukkitVersion

#

and checked if it contains 1.16.5 or...

visual wolf
#

ah

covert patrol
#

but for example createHologram is not working

#

i set a debug message

#

and there is no outpit

visual wolf
#

anyways

#

u could just use the check from earlier

#

however I forgot to mention

#

for 1.17+ nms versions are no more

#

so the check wouldnt work

covert patrol
#

im testing on 1.16.5

visual wolf
#

as the package isnt named v1_17_R1

#

yeah

covert patrol
#

the debug message

visual wolf
#

on 1.16- it should work

#

however why use Server::getBukkitVersion

covert patrol
#

i did that

visual wolf
#

I gave you a method which worked didnt I?

covert patrol
#

you fixed the code

#

but

#

when i use the interface in my core

#

the debug message

#

is not working

visual wolf
#

it was

#

just not for 1.17

#

because 1.17 is nms-less

covert patrol
#

let me open vs code cause my system is using resources

#

@visual wolf

visual wolf
#

?

covert patrol
#

i have a debug message in my method

visual wolf
#

Icant see much code

covert patrol
#

but

#

should i just

#

put the broadcast ?

#

the hologramManager (interface) is not null

visual wolf
#

Idk

covert patrol
visual wolf
#

do what you feel is necessary?

#

wat

#

no

#

you check if the hologramManager is null in the start

#

in that case disable the plugin

#

because you know the server runs on an unsupported version of yours

covert patrol
#

@visual wolf so the plugin enabled

#

@visual wolf when i do /hologram