소스 검색

Merge branch '1365-fix-getItem' into 'temp-v0.5'

Fix #1365 : Add sanity check to /getItem command argument

See merge request Isleward/isleward!446
tags/v0.4.4^2
Big Bad Waffle 4 년 전
부모
커밋
2d957c25b3
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. +3
    -0
      src/server/components/extensions/socialCommands.js

+ 3
- 0
src/server/components/extensions/socialCommands.js 파일 보기

@@ -441,6 +441,9 @@ module.exports = {
},

getItem: function (config) {
if (typeof config !== 'object')
return;

if (config.slot === 'set') {
configSlots.slots.forEach(function (s) {
if (s === 'tool')


불러오는 중...
취소
저장