lower postion
This commit is contained in:
parent
ce4176e929
commit
9a4e61e201
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ public class FoliaFlow extends JavaPlugin implements Listener {
|
||||||
if(movingTo != null && movingTo.getType() == Material.END_PORTAL){
|
if(movingTo != null && movingTo.getType() == Material.END_PORTAL){
|
||||||
Location spawnLoc = movingTo.getLocation();
|
Location spawnLoc = movingTo.getLocation();
|
||||||
spawnLoc.setX(spawnLoc.getX()+0.5);
|
spawnLoc.setX(spawnLoc.getX()+0.5);
|
||||||
spawnLoc.setY(spawnLoc.getY()-1.5);
|
spawnLoc.setY(spawnLoc.getY()-3.5);
|
||||||
spawnLoc.setZ(spawnLoc.getZ()+0.5);
|
spawnLoc.setZ(spawnLoc.getZ()+0.5);
|
||||||
|
|
||||||
FallingBlock dummy = loc.getWorld().spawnFallingBlock(spawnLoc, ((FallingBlock) entity).getBlockData());
|
FallingBlock dummy = loc.getWorld().spawnFallingBlock(spawnLoc, ((FallingBlock) entity).getBlockData());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue