mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-08 16:56:07 +00:00
Structure#generateDirect -> #generate
This commit is contained in:
@@ -152,7 +152,7 @@ public class StructureScript implements Structure {
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("try")
|
||||
public boolean generateDirect(Vector3 location, World world, Random random, Rotation rotation) {
|
||||
public boolean generate(Vector3 location, World world, Random random, Rotation rotation) {
|
||||
try(ProfileFrame ignore = main.getProfiler().profile("terrascript_direct:" + id)) {
|
||||
DirectBuffer buffer = new DirectBuffer(location, world);
|
||||
return applyBlock(new TerraImplementationArguments(buffer, rotation, random, world, 0));
|
||||
|
||||
Reference in New Issue
Block a user