Jump to content
  • 0

Next Vote Date


Question

Posted (edited)

Hello MxC!

 

Today i noticed a weird bug on my vote manager. On first interact with the npc it shows completely wrond date for the next vote. The code is this

image.thumb.png.5be56543d4b39b09847d8217ef09e1a3.png

 

If i click again on the npc then everything is correct. Check images Below:

 

First Interact:

image.png.5292466d2ec0353364a30f06276e8037.png

 

Second Interact

image.png.065eb98d3ca7b1a2f947a2aace3aabca.png

 

Npc class = public class VoteManager extends Npc

 

Any clue?

 

Fixed. Lock it

Edited by Vision

1 answer to this question

Recommended Posts

  • 0
Posted
On 12/16/2022 at 10:45 PM, andy1984 said:

Hello MxC!

 

Today i noticed a weird bug on my vote manager. On first interact with the npc it shows completely wrond date for the next vote. The code is this

image.thumb.png.5be56543d4b39b09847d8217ef09e1a3.png

 

If i click again on the npc then everything is correct. Check images Below:

 

First Interact:

image.png.5292466d2ec0353364a30f06276e8037.png

 

Second Interact

image.png.065eb98d3ca7b1a2f947a2aace3aabca.png

 

Npc class = public class VoteManager extends Npc

 

Any clue?

 

Fixed. Lock it

Topic locked.

Guest
This topic is now closed to further replies.
×
×
  • Create New...