Adds missing JavaDoc

This commit is contained in:
2021-10-29 18:43:22 +02:00
parent 56ed0495b0
commit 56bf51f370
5 changed files with 29 additions and 2 deletions

View File

@ -71,7 +71,8 @@ public class PortalOpener {
/**
* Open this portal opener's portal
*
* @param force <p>Whether to force the portal open, even if it's already open for some player</p>
* @param openFor <p>The player to open the portal for</p>
* @param force <p>Whether to force the portal open, even if it's already open for some player</p>
*/
public void openPortal(Player openFor, boolean force) {
//Call the StargateOpenEvent to allow the opening to be cancelled

View File

@ -24,7 +24,13 @@ import java.util.List;
*/
public abstract class Teleporter {
/**
* The portal the entity is teleporting to
*/
protected final Portal portal;
/**
* The scheduler to use for delaying tasks
*/
protected final BukkitScheduler scheduler;
/**