Minigames icon indicating copy to clipboard operation
Minigames copied to clipboard

Minigame winners teleported using quit location if end location is null

Open Reed022 opened this issue 2 years ago • 0 comments

Purpose

The only purpose of the end location is to be a "special" location where the winning players of a minigame are sent. Therefore, it is not entirely necessary to run a minigame. This change makes it so that games do not break when an end location is not set. Winners are instead sent to the quit location where losing players are sent by default. A warning is also displayed in console that the game is missing an end location. (In the future, I'm considering adding a toggle in the menu for the plugin to ignore the end location and send winners to the quit location by default. That way, you do not get the warning if you do not wish to set an end location for whatever reason.)

Reed022 avatar Feb 05 '22 05:02 Reed022