mirror of
https://github.com/PixelGuys/Cubyz.git
synced 2025-09-12 22:09:18 -04:00
Default stacksize is 120
This commit is contained in:
parent
3d16252f52
commit
b6dc901e69
@ -94,7 +94,7 @@ pub const BaseItem = struct { // MARK: BaseItem
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
self.name = allocator.dupe(u8, zon.get([]const u8, "name", id));
|
self.name = allocator.dupe(u8, zon.get([]const u8, "name", id));
|
||||||
self.stackSize = zon.get(u16, "stackSize", 64);
|
self.stackSize = zon.get(u16, "stackSize", 120);
|
||||||
const material = zon.getChild("material");
|
const material = zon.getChild("material");
|
||||||
if(material == .object) {
|
if(material == .object) {
|
||||||
self.material = Material{};
|
self.material = Material{};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user