Fixed sending datapack twice.

Signed-off-by: Oskar <oskar.warme@gmail.com>