Structure update

This commit is contained in:
bluefireoly
2020-09-12 22:19:29 +02:00
parent 33ca211325
commit 5c9c02891b
3 changed files with 34 additions and 10 deletions

View File

@@ -0,0 +1,8 @@
package net.axay.kspigot.structures
import net.axay.kspigot.extensions.geometry.plus
import org.bukkit.Location
fun Structure.buildAt(loc: Location) {
structureData.forEach { it.structureData.createAt(loc + it.location) }
}