Lower case Swap
This commit is contained in:
parent
f9e25b5a33
commit
124d14d3c3
2 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Applied Energistics 2.
|
* This file is part of Applied Energistics 2.
|
||||||
* Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved.
|
* Copyright (c) 2013 - 2015, AlgorithmX2, All rights reserved.
|
||||||
*
|
*
|
||||||
* Applied Energistics 2 is free software: you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
@ -189,7 +189,7 @@ public class CachedPlane
|
||||||
return mr.getHandler( te );
|
return mr.getHandler( te );
|
||||||
}
|
}
|
||||||
|
|
||||||
void Swap( CachedPlane dst )
|
void swap( CachedPlane dst )
|
||||||
{
|
{
|
||||||
IMovableRegistry mr = AEApi.instance().registries().movable();
|
IMovableRegistry mr = AEApi.instance().registries().movable();
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of Applied Energistics 2.
|
* This file is part of Applied Energistics 2.
|
||||||
* Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved.
|
* Copyright (c) 2013 - 2015, AlgorithmX2, All rights reserved.
|
||||||
*
|
*
|
||||||
* Applied Energistics 2 is free software: you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
@ -222,7 +222,7 @@ public class StorageHelper
|
||||||
CachedPlane cSrc = new CachedPlane( src, x, y, z, x + scaleX, y + scaleY, z + scaleZ );
|
CachedPlane cSrc = new CachedPlane( src, x, y, z, x + scaleX, y + scaleY, z + scaleZ );
|
||||||
|
|
||||||
// do nearly all the work... swaps blocks, tiles, and block ticks
|
// do nearly all the work... swaps blocks, tiles, and block ticks
|
||||||
cSrc.Swap( cDst );
|
cSrc.swap( cDst );
|
||||||
|
|
||||||
List<Entity> srcE = src.getEntitiesWithinAABB( Entity.class, srcBox );
|
List<Entity> srcE = src.getEntitiesWithinAABB( Entity.class, srcBox );
|
||||||
List<Entity> dstE = dst.getEntitiesWithinAABB( Entity.class, dstBox );
|
List<Entity> dstE = dst.getEntitiesWithinAABB( Entity.class, dstBox );
|
||||||
|
|
Loading…
Reference in a new issue