mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-07-01 12:36:41 +00:00
reformat
This commit is contained in:
@ -327,7 +327,7 @@ public class ItemFun extends FreedomService
|
||||
//Redundant Player cast is required to avoid suspicious method calls.
|
||||
if (arrow != null
|
||||
&& (arrow.getShooter() instanceof Player)
|
||||
&& explosivePlayers.contains((Player)arrow.getShooter()))
|
||||
&& explosivePlayers.contains(arrow.getShooter()))
|
||||
{
|
||||
Objects.requireNonNull(arrow.getLocation().getWorld()).createExplosion(arrow.getLocation().getX(), arrow.getLocation().getY(), arrow.getLocation().getZ(), ConfigEntry.EXPLOSIVE_RADIUS.getDouble().floatValue(), false, ConfigEntry.ALLOW_EXPLOSIONS.getBoolean());
|
||||
arrow.remove();
|
||||
|
Reference in New Issue
Block a user