fix
- исправлен getMaxStackForId для блоков
This commit is contained in:
@@ -49,6 +49,8 @@ public class ItemMethod {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static int getMaxStackForId(int id, int data){
|
public static int getMaxStackForId(int id, int data){
|
||||||
|
if(id >= 8000)
|
||||||
|
return 64;
|
||||||
CustomManager manager = getCustomManager(id);
|
CustomManager manager = getCustomManager(id);
|
||||||
if(manager != null)
|
if(manager != null)
|
||||||
return manager.get(PropertiesNames.MAX_STACK);
|
return manager.get(PropertiesNames.MAX_STACK);
|
||||||
|
|||||||
Reference in New Issue
Block a user