mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-09 09:16:34 +00:00
clean up SurfaceLocatorTemplate
This commit is contained in:
@@ -18,15 +18,9 @@ import com.dfsek.terra.api.util.Range;
|
||||
|
||||
|
||||
public class SurfaceLocatorTemplate implements ObjectTemplate<Locator> {
|
||||
private final Platform platform;
|
||||
|
||||
@Value("range")
|
||||
private @Meta Range range;
|
||||
|
||||
public SurfaceLocatorTemplate(Platform platform) {
|
||||
this.platform = platform;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Locator get() {
|
||||
return new SurfaceLocator(range);
|
||||
|
||||
Reference in New Issue
Block a user