Restore default constructor of EntityItem with single argument. Potentially fixes #400
This commit is contained in:
@@ -1,7 +1,29 @@
|
||||
/*
|
||||
* This file is part of Applied Energistics 2.
|
||||
* Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved.
|
||||
*
|
||||
* Applied Energistics 2 is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Applied Energistics 2 is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License
|
||||
* along with Applied Energistics 2. If not, see <http://www.gnu.org/licenses/lgpl>.
|
||||
*/
|
||||
|
||||
package appeng.entity;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import appeng.api.AEApi;
|
||||
import appeng.client.EffectType;
|
||||
import appeng.core.AEConfig;
|
||||
import appeng.core.CommonHelper;
|
||||
import appeng.core.features.AEFeature;
|
||||
import appeng.util.Platform;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.item.EntityItem;
|
||||
@@ -10,12 +32,8 @@ import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
import net.minecraft.util.MathHelper;
|
||||
import net.minecraft.world.World;
|
||||
import appeng.api.AEApi;
|
||||
import appeng.client.EffectType;
|
||||
import appeng.core.AEConfig;
|
||||
import appeng.core.CommonHelper;
|
||||
import appeng.core.features.AEFeature;
|
||||
import appeng.util.Platform;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
final public class EntityChargedQuartz extends AEBaseEntityItem
|
||||
{
|
||||
@@ -23,7 +41,13 @@ final public class EntityChargedQuartz extends AEBaseEntityItem
|
||||
int delay = 0;
|
||||
int transformTime = 0;
|
||||
|
||||
public EntityChargedQuartz(World w, double x, double y, double z, ItemStack is) {
|
||||
public EntityChargedQuartz(World w)
|
||||
{
|
||||
super( w );
|
||||
}
|
||||
|
||||
public EntityChargedQuartz(World w, double x, double y, double z, ItemStack is)
|
||||
{
|
||||
super( w, x, y, z, is );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user