My DM is playing a DMPC along with our party, as well as the standard DM role.
During an encounter, his PC absorbed a gelatinous cube, and is saying that because it was not a true kill, the rest of the party doesn't gain experience, even though we did damage the cube.
Is this in line with the rules, or are we getting screwed by our DM?