Fixes some things regarding vehicle teleportation
Adds extra space between the portal and the vehicle if the destination portal is always on Fixes a bug causing vehicles not being detected soon enough Fixes boats facing into the portal rather than out from the portal Fixes boats spawning inside water rather than on top of it if water is in front of a portal
This commit is contained in:
@ -7,7 +7,11 @@ import org.bukkit.Location;
|
||||
/**
|
||||
* This class helps with direction-dependent (modX, modZ) calculations
|
||||
*/
|
||||
public class DirectionHelper {
|
||||
public final class DirectionHelper {
|
||||
|
||||
private DirectionHelper() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the block at a relative block vector location
|
||||
|
Reference in New Issue
Block a user