boxbeam / RedLib

A powerful library for Spigot plugin development with a wide range of tools to make your life easier

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clear method for DataBlock

Tacodiva opened this issue · comments

Hi, thanks for making suck a great and useful library!

It would be nice to have a way to clear block data without having to loop though all of they keys and do it yourself. It just makes a lot of scene that a data structure like DataBlock would have a clear method.

EDIT: You can just do data.getData().clear(); but still, a clear method would be nice