mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 09:39:21 +02:00
stackable items fix
This commit is contained in:
parent
2d61466263
commit
8ca0500712
@ -83,7 +83,7 @@ void Item::onCountChange(int)
|
||||
{
|
||||
const ThingAttributes& attributes = g_dat.getItemAttributes(m_id);
|
||||
|
||||
if(attributes.stackable) {
|
||||
if(attributes.stackable && attributes.xdiv == 4 && attributes.ydiv == 2) {
|
||||
if(m_count < 5) {
|
||||
m_xDiv = m_count-1;
|
||||
m_yDiv = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user