prism/Prism — pull request #62 by AgentME (2014-03-05 18:40:24+00:00)
Title: Misc Fixes

1. On my platform, Maven wants to default to compiling Java source code to Java 1.3, which causes errors, so I made the pom.xml explicitly choose 1.6.

2. If the user reloads the config file at runtime using prism's reload command, the loadConfig() method didn't get called again, causing some values to not get reloaded correctly. The AlertedOres map wasn't cleared first either. I also made it so that the PrismCommand's reload handler doesn't intrude on the Prism object in setting its config member, and lets the Prism object handle that itself. `loadConfig()` is now called whenever `reloadConfig()` is called on Prism, so it makes it much more unlikely for the Prism object to possibly be left in an inconsistent regarding its loaded config.

3. It used to be that if the last InventoryClickEvent (from any player) was a right-click, then invalid values could be recorded for other inventory events. This commit is related to commit 904ec688e4f109b27e2d04b6e59f473717dab8a4, which fixed a bunch of similar issues, but missed this one.