fixtures won't spawn when there's block or other fixtures

This commit is contained in:
minjaesong
2019-05-31 22:57:20 +09:00
parent 874834b2d1
commit ec8b57abd1
8 changed files with 51 additions and 12 deletions

View File

@@ -32,8 +32,6 @@ class TikiTorchTester(originalID: ItemID) : GameItem(originalID) {
override fun startPrimaryUse(delta: Float): Boolean {
val torch = FixtureTikiTorch()
//println("aroisetn")
return torch.spawn(Terrarum.mouseTileX, Terrarum.mouseTileY - torch.blockBox.height + 1)
// return true when placed, false when cannot be placed
}