#Hello, how could i convert this into PacketTimer (Minecraft)

16 messages · Page 1 of 1 (latest)

snow oyster
#

I need it to use System.currentTimeMilis() rounded but i dont even know how to convert it...

thorny narwhalBOT
#

This post has been reserved for your question.

Hey @snow oyster! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

upbeat crane
#

I'd recommend fixing your imports first

snow oyster
#

Yeah dw, i fixed it just now

upbeat crane
#

so, whats the problem exactly

snow oyster
#

so, i am trying to edit a minecraft plugin that a friend gave me, but the timer is a bit laggy, whenever the server lags, the timer does too, so he said to put a thing called packet timer.

#

instead of this

#

and i don't really get how i can do it.

upbeat crane
#

ugh, okay, never did anything related to minecraft, so I doubt I can help you

snow oyster
#

maybe.. the code isnt that complicated.

upbeat crane
#

yeah, but I don't know how minecrafts internal networking works

#

why did your friend send you this when you're clueless too

snow oyster
#

so there's this. but like im clueless how to make it work in arenahandler

snow oyster
#

there's some weird error java: variable set might not have been initialized