MineDev/Regios — pull request #198 by st-remy (2011-10-09 12:28:32+00:00)
Title: Fix for armor not being wiped while wiping inventory

Hi,

I tested the /regios cache-wipe-enter command and noticed that inventory is not wiped while rest of the inventory is. This is probably not what was meant in the first place, and it also allows for item duping by throwing the armor outside the area and collecting it after getting the cached copy back when leaving the area.

I also simplified (non-armor) inventory clearing by replacing the loop with a simple call to Inventory.clear().

Please include this change into your master version. And thanks for this great plugin. :)

Regards,

st_remy