mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-24 05:54:27 +00:00
1 parent
b237c6cb4d
commit
32c251d805
1 file changed
+3
-2
@@ -765,8 +765,9 @@ public class TravelController {
|
||||
/**
|
||||
* Returns the provided position if it's valid, or returns empty optional if unsuccessful.
|
||||
*
|
||||
* <p>To be precise: if the destination is a travel anchor or other block, then the returned
|
||||
* coordinates will be one block higher, to place the player on top of the block.
|
||||
* <p>
|
||||
* To be precise: if the destination is a travel anchor or other block, then the returned coordinates will be one
|
||||
* block higher, to place the player on top of the block.
|
||||
*/
|
||||
public Optional<BlockCoord> findValidDestination(EntityPlayer player, TravelSource source, BlockCoord coord) {
|
||||
// Are we trying to travel to a block (anchor or telepad)?
|
||||
|
||||
Reference in new issue
Block a user