place building blocks preview test
This commit is contained in:
@ -8,7 +8,7 @@ import org.bukkit.entity.Player
|
||||
|
||||
class Blacksmith: Building {
|
||||
override fun showPlaceHint(player: Player) {
|
||||
PlaceHint.add(player, 4.0f, 3.0f, 4.0f, ::place, PlaceHintValidators::allReplaceable)
|
||||
PlaceHint.add(player, "house2", ::place, PlaceHintValidators::allReplaceable)
|
||||
}
|
||||
|
||||
fun place(location: Location, sizeX: Float, sizeY: Float, sizeZ: Float) {
|
||||
|
||||
Reference in New Issue
Block a user