SPIGOT-7011, SPIGOT-7065: Overhaul of structures
By: DerFrZocker <derrieple@gmail.com>
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
package org.bukkit.craftbukkit.util;
|
||||
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.generator.structure.Structure;
|
||||
import org.bukkit.util.StructureSearchResult;
|
||||
|
||||
public class CraftStructureSearchResult implements StructureSearchResult {
|
||||
|
||||
private final Structure structure;
|
||||
private final Location location;
|
||||
|
||||
public CraftStructureSearchResult(Structure structure, Location location) {
|
||||
this.structure = structure;
|
||||
this.location = location;
|
||||
}
|
||||
|
||||
public Structure getStructure() {
|
||||
return structure;
|
||||
}
|
||||
|
||||
public Location getLocation() {
|
||||
return location;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user