mirror of
https://github.com/stronk-dev/RandomChad.git
synced 2025-07-05 02:35:08 +02:00
Genesis bug
This commit is contained in:
parent
59db40a3c2
commit
f6ca785f7d
File diff suppressed because it is too large
Load Diff
@ -12,4 +12,4 @@ const runtime = {
|
||||
exports.testnetMetadata = functions.runWith( runtime ).https.onRequest( testnetAPI )
|
||||
|
||||
// Mainnet endpoint
|
||||
exports.mainnetMetadata = functions.runWith( runtime ).https.onRequest( mainnetAPI )
|
||||
exports.mainnetMetadata = functions.runWith( runtime ).https.onRequest( mainnetAPI )
|
||||
|
@ -89,7 +89,7 @@ async function generateRocketeer( id, network='mainnet' ) {
|
||||
|
||||
// Special editions
|
||||
const edition = { "trait_type": "edition", value: "regular" }
|
||||
if( id < 50 ) edition.value = 'genesis'
|
||||
if( id <= 50 ) edition.value = 'genesis'
|
||||
if( id % 42 === 0 ) edition.value = 'hitchhiker'
|
||||
rocketeer.attributes.push( edition )
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user