make core:obstacle unbreakable
This commit is contained in:
parent
50c7308211
commit
d62d66cf85
@ -40,6 +40,7 @@ void corecontent::setup(EnginePaths* paths, ContentBuilder* builder) {
|
||||
block.textureFaces[i] = "obstacle";
|
||||
}
|
||||
block.hitboxes = {AABB()};
|
||||
block.breakable = false;
|
||||
ItemDef& item = builder->items.create(CORE_OBSTACLE+".item");
|
||||
item.iconType = item_icon_type::block;
|
||||
item.icon = CORE_OBSTACLE;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user