new version 1.3.3
This commit is contained in:
parent
2d5c5eea48
commit
d9eb747c1b
37 changed files with 1021 additions and 471 deletions
|
|
@ -76,9 +76,14 @@ public final class Island {
|
|||
ps.setYaw(Config.GENERATION.getInt("advanced.island.spawn.yaw"));
|
||||
ps.setPitch(Config.GENERATION.getInt("advanced.island.spawn.pitch"));
|
||||
|
||||
// First parkour block should be generated FROM the parkour start block
|
||||
// in the direction of heading, not AT the parkour start block
|
||||
Location parkourStart = parkour.getLocation().add(session.generator.state.heading);
|
||||
// First parkour block position - fixed offset from parkour marker
|
||||
// Always 4 blocks in the direction of heading from center
|
||||
Location parkourStart = parkour.getLocation().clone();
|
||||
parkourStart.add(
|
||||
session.generator.state.heading.getX() * 4,
|
||||
0,
|
||||
session.generator.state.heading.getZ() * 4
|
||||
);
|
||||
|
||||
session.generator.generateFirst(ps, parkourStart);
|
||||
session.generator.startTick();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue