diff --git a/lib/aethyr/core/input_handlers/generic.rb b/lib/aethyr/core/input_handlers/generic.rb index 5bad553c7136323523a9e4afd5f3317c2f9ab00e..11ed1f8c81207f7e28d8cb5c3f73906849e655d0 100644 --- a/lib/aethyr/core/input_handlers/generic.rb +++ b/lib/aethyr/core/input_handlers/generic.rb @@ -221,8 +221,7 @@ EOF when /^(feel)(\s+(.+))?$/i action_feel({ :target => $3}) when /^fill\s+(\w+)\s+from\s+(\w+)$/i - action_fill({ :object => $1, - :from => $2}) + action_fill({ :object => $1, :from => $2}) when /^who$/i action_who({}) when /^time$/i diff --git a/lib/aethyr/core/input_handlers/put.rb b/lib/aethyr/core/input_handlers/put.rb index d26112c992e45fa32f10bf19b50b0f08cda4657f..c828ecad48cd53cd7fe6af02d87836a6f5c9032c 100644 --- a/lib/aethyr/core/input_handlers/put.rb +++ b/lib/aethyr/core/input_handlers/put.rb @@ -36,9 +36,7 @@ EOF super(data) case data[:input] when /^put((\s+(\d+)\s+)|\s+)(\w+)\s+in\s+(\w+)$/i - action({ :item => $4, - :count => $3.to_i, - :container => $5 }) + action({ :item => $4, :count => $3.to_i, :container => $5 }) end end @@ -79,9 +77,9 @@ EOF room.out_event(event) end end - + Aethyr::Extend::HandlerRegistry.register_handler(PutHandler) end end end -end \ No newline at end of file +end