CommandHelper

CommandHelper

46.5k Downloads

executeas() with not enough arguments leads to an error in core

Pieter12345 opened this issue ยท 1 comments

commented

Any number of arguments is allowed in executeas(), but the required minimum argument size is never checked and the following line causes a negative array index:
https://github.com/EngineHub/CommandHelper/blob/master/src/main/java/com/laytonsmith/core/functions/DataHandling.java#L2368

commented

Fixed in 309df09