[12337] Correctly extract liquid data

Thanks to Cyberium for porting

Signed-off-by: Schmoozerd <schmoozerd@cmangos>

(based on commit [12232] - e2c2145)