File tree Expand file tree Collapse file tree 2 files changed +11
-13
lines changed
Expand file tree Collapse file tree 2 files changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -45,11 +45,11 @@ <h1 class="loadingText">Loading assets...</h1>
4545 <!-- Tab List -->
4646 < div class ="tab_list text-light ">
4747 < div class ="tab_player clearfix ">
48- < span class ="float-left "> xd </ span >
49- < span class ="float-right "> OK </ span >
48+ < span class ="float-left "> </ span >
49+ < span class ="float-right "> </ span >
5050 </ div >
51- < div class ="tab_player "> lol </ div >
52- < div class ="tab_player "> xd </ div >
51+ < div class ="tab_player "> </ div >
52+ < div class ="tab_player "> </ div >
5353 </ div >
5454
5555 <!-- MENU -->
Original file line number Diff line number Diff line change @@ -259,15 +259,13 @@ class ChunkMesher {
259259 }
260260
261261 aoColor ( type ) {
262- if ( type === 0 ) {
263- return [ 0.9 , 0.9 , 0.9 ]
264- } else if ( type === 1 ) {
265- return [ 0.7 , 0.7 , 0.7 ]
266- } else if ( type === 2 ) {
267- return [ 0.5 , 0.5 , 0.5 ]
268- } else {
269- return [ 0.3 , 0.3 , 0.3 ]
270- }
262+ const num = ( {
263+ 0 : 0.7 ,
264+ 1 : 0.5 ,
265+ 2 : 0.3 ,
266+ 3 : 0.1
267+ } ) [ type ]
268+ return [ num , num , num ]
271269 }
272270
273271 genChunkGeo ( cellX , cellY , cellZ ) {
You can’t perform that action at this time.
0 commit comments