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
2015-07-17 03:38:41 +02:00
2014-06-03 14:45:23 +02:00
2016-12-30 01:43:53 +01:00

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

S
Description
No description provided
Readme GPL-3.0
19 MiB
Languages
Java 99.4%
Python 0.6%