Parkour

Parkour

570k Downloads

Teleport delay on finish course

steve4744 opened this issue ยท 1 comments

commented

Done a bit of testing on this....the 'delay' itself works fine, the problem is that during the 'delay' the player can/will move across the finish block(s), so the 'onPlayerMove' listener is triggering multiple playerFinish events. This causes multiple 'player finshed course' messages to appear and the prize (e.g.1 diamond) is given to the player multiple times.

commented

My apologies I didn't test this scenario, quick fix just needed to remove the player from the playing list.
Fixed. Thanks again! :)