For details on 1.13.2 see this article...
Which Realm?: Towny
Where were you when the bug happened: Outside of Haven
How is this bug produced? When I went into creative mode I had my survival invertory and I tested this weird glitch out with 2 stacks of emerald blocks and when I switched back I still had the stacks
Further information: I think it's caused by the switching between creative and survival