diff --git a/decorators/Repeater.go b/decorators/Repeater.go index 0403540..80d008f 100644 --- a/decorators/Repeater.go +++ b/decorators/Repeater.go @@ -36,9 +36,6 @@ type Repeater struct { func (this *Repeater) Initialize(setting *BTNodeCfg) { this.Decorator.Initialize(setting) this.maxLoop = setting.GetPropertyAsInt("maxLoop") - if this.maxLoop < 1 { - panic("maxLoop parameter in MaxTime decorator is an obligatory parameter") - } } /**