MobArena plugin for Minecraft
Go to file
Andreas Troelsen 48a85a7e85 Use a copy of the block list in BlockExplodeEvent for the fake EntityExplodeEvent. Fixes #356
The blockList() call returns the actual List<Block> object in the explode event, which means it'll be shared between the the fake event and the original event. As a result, the call to blockList().clear() will clear the shared list, and the following call to blockList().addAll(fake.blockList()) results in trying to add the empty list to itself.

This commit makes sure to copy the original event's block list before sending it to the fake event.
2017-02-14 17:26:20 +01:00
src/main Use a copy of the block list in BlockExplodeEvent for the fake EntityExplodeEvent. Fixes #356 2017-02-14 17:26:20 +01:00
.gitignore Update for Spigot and mavenize. 2015-07-17 03:38:41 +02:00
LICENSE.md Add license. 2014-06-03 14:45:23 +02:00
pom.xml Bump version to 0.97.5. 2016-12-30 01:43:53 +01:00
README.md So, you got a big source code revamp. Big whoop, wanna fight about it? 2012-02-24 05:11:06 +01:00

Please read the Wiki for details on how to set up MobArena, and remember to read the FAQ before posting questions!