diff options
Diffstat (limited to 'src/map/itemdb.c')
-rw-r--r-- | src/map/itemdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/itemdb.c b/src/map/itemdb.c index 48b3dc837..929a90562 100644 --- a/src/map/itemdb.c +++ b/src/map/itemdb.c @@ -1786,7 +1786,7 @@ int itemdb_readdb_libconfig_sub(config_setting_t *it, int n, const char *source) if( config_setting_lookup_int(it, "Range", &i32) && i32 >= 0 ) id.range = i32; - if( config_setting_lookup_int(it, "Slot", &i32) && i32 >= 0 ) + if( config_setting_lookup_int(it, "Slots", &i32) && i32 >= 0 ) id.slot = i32; if( config_setting_lookup_int(it, "Job", &i32) ) // This is an unsigned value, do not check for >= 0 |