mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-25 06:24:27 +00:00
Cleanup. Looks like it's been a while since this was run eh?
This commit is contained in:
1 parent
e862939b7b
commit
e38556d265
870 files changed
+7429
-7424
No files matched your search
@@ -2,14 +2,16 @@
|
||||
* This class was created by <Vazkii>. It's distributed as
|
||||
* part of the Botania Mod. Get the Source Code in github:
|
||||
* https://github.com/Vazkii/Botania
|
||||
*
|
||||
*
|
||||
* Botania is Open Source and distributed under the
|
||||
* Botania License: http://botaniamod.net/license.php
|
||||
*
|
||||
*
|
||||
* File Created @ [Aug 17, 2015, 4:19:52 PM (GMT)]
|
||||
*/
|
||||
package vazkii.botania.common.entity;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.state.IBlockState;
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
@@ -21,8 +23,6 @@ import net.minecraft.world.World;
|
||||
import vazkii.botania.common.Botania;
|
||||
import vazkii.botania.common.core.handler.ConfigHandler;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class EntityFallingStar extends EntityThrowableCopy {
|
||||
|
||||
public EntityFallingStar(World world) {
|
||||
@@ -81,7 +81,7 @@ public class EntityFallingStar extends EntityThrowableCopy {
|
||||
if (pos.getBlockPos() != null) {
|
||||
IBlockState state = worldObj.getBlockState(pos.getBlockPos());
|
||||
if(ConfigHandler.blockBreakParticles && !state.getBlock().isAir(state, worldObj, pos.getBlockPos()))
|
||||
worldObj.playEvent(2001, pos.getBlockPos(), Block.getStateId(state));
|
||||
worldObj.playEvent(2001, pos.getBlockPos(), Block.getStateId(state));
|
||||
}
|
||||
|
||||
setDead();
|
||||
|
||||
Reference in new issue
Block a user