Skip to content

Commit

Permalink
删除无意义空格
Browse files Browse the repository at this point in the history
  • Loading branch information
Sobadfish committed Aug 27, 2024
1 parent 00dc5cb commit 6fc7d2f
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ public List<BlockVector3> getSpawnBlocks(PlayerInfo info) {
BlockFace[] face = new BlockFace[]{BlockFace.SOUTH,BlockFace.NORTH,BlockFace.EAST,BlockFace.WEST};
for(;y < height;y++){
for(BlockFace f: face){


Vector3 ff = v3.add(0,y).getSide(f,2);
Vector3 fleft = ff.getSide(f.rotateYCCW());
Vector3 fright = ff.getSide(f.rotateY());
Expand All @@ -48,11 +46,8 @@ public List<BlockVector3> getSpawnBlocks(PlayerInfo info) {
//梯子
blockVector3s.add(new BlockVector3(new BlockLadder(f.rotateY().rotateY().getIndex()),tz));
}

}
}


//生成平台
for(BlockFace f: face) {
Vector3 fn = v3.add(0, y-1).getSide(f, 2);
Expand All @@ -78,7 +73,7 @@ public List<BlockVector3> getSpawnBlocks(PlayerInfo info) {
if(i == 2){
blockVector3s.add(new BlockVector3(new BlockWool(),nl.add(0,1)));
blockVector3s.add(new BlockVector3(new BlockWool(),nr.add(0,-1)));
blockVector3s.add(new BlockVector3(new BlockWool(),nr.add(0,1)));
blockVector3s.add(new BlockVector3(new BlockWool(),nr.add(0,-1)));
blockVector3s.add(new BlockVector3(new BlockWool(),nl.add(0,-1)));
}
}
Expand Down

0 comments on commit 6fc7d2f

Please sign in to comment.