Fixed stairs

This commit is contained in:
thatsIch
2015-09-29 15:47:55 +02:00
parent 8b921a7b79
commit 59dbfb1452
169 changed files with 1470 additions and 1095 deletions
+5 -5
View File
@@ -19,14 +19,14 @@
package appeng.server;
import com.google.common.base.Joiner;
import net.minecraft.command.CommandBase;
import net.minecraft.command.CommandException;
import net.minecraft.command.ICommandSender;
import net.minecraft.command.WrongUsageException;
import net.minecraft.server.MinecraftServer;
import com.google.common.base.Joiner;
public final class AECommand extends CommandBase
{
@@ -53,7 +53,7 @@ public final class AECommand extends CommandBase
}
@Override
public String getName()
public String getCommandName()
{
return "ae2";
}
@@ -65,7 +65,7 @@ public final class AECommand extends CommandBase
}
@Override
public void execute(
public void processCommand(
ICommandSender sender,
String[] args ) throws CommandException
{
@@ -101,7 +101,7 @@ public final class AECommand extends CommandBase
try
{
Commands c = Commands.valueOf( args[0] );
if( sender.canUseCommand( c.level, this.getName() ) )
if( sender.canCommandSenderUseCommand( c.level, this.getCommandName() ) )
{
c.command.call( this.srv, args, sender );
}
@@ -29,6 +29,7 @@ import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.server.MinecraftServer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.MovingObjectPosition;
import net.minecraft.util.ResourceLocation;
import net.minecraft.world.World;
@@ -68,7 +69,7 @@ public class ServerHelper extends CommonHelper
}
@Override
public void bindTileEntitySpecialRenderer( Class tile, AEBaseBlock blk )
public void bindTileEntitySpecialRenderer( Class <? extends TileEntity> tile, AEBaseBlock blk )
{
throw new UnsupportedOperationException( "This is a server..." );
}