Fixed #4402
This commit is contained in:
@@ -221,12 +221,15 @@ public class PowerNode extends PowerBlock{
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void drawRequestConfigTop(BuildPlan req, Eachable<BuildPlan> list){
|
public void drawRequestConfigTop(BuildPlan req, Eachable<BuildPlan> list){
|
||||||
if(req.config instanceof Point2[]){
|
if(req.config instanceof Point2[] ps){
|
||||||
setupColor(1f);
|
setupColor(1f);
|
||||||
for(Point2 point : (Point2[])req.config){
|
for(Point2 point : ps){
|
||||||
|
int px = req.x + point.x, py = req.y + point.y;
|
||||||
otherReq = null;
|
otherReq = null;
|
||||||
list.each(other -> {
|
list.each(other -> {
|
||||||
if((other.x == req.x + point.x && other.y == req.y + point.y) && other != req && other.block != null && other.block.hasPower){
|
if(other.block != null
|
||||||
|
&& (px >= other.x - ((other.block.size-1)/2) && py >= other.y - ((other.block.size-1)/2) && px <= other.x + other.block.size/2 && py <= other.y + other.block.size/2)
|
||||||
|
&& other != req && other.block.hasPower){
|
||||||
otherReq = other;
|
otherReq = other;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
6
fastlane/metadata/android/en-US/changelogs/29804.txt
Normal file
6
fastlane/metadata/android/en-US/changelogs/29804.txt
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
[This is a truncated changelog, see Github for full notes]
|
||||||
|
- Fixed negative numbers not displaying properly in power nodes
|
||||||
|
- Fixed mod minVersion parsing
|
||||||
|
- Fixed mods disappearing after import [Android]
|
||||||
|
- Disabled duplicate IP prevention system
|
||||||
|
- Added mod browser sort order button
|
||||||
Reference in New Issue
Block a user