mirror of
https://github.com/eaglerforge/EaglerForgeInjector
synced 2025-07-23 06:01:38 -09:00
fix rendering issue in slippery.md
This commit is contained in:
parent
a420e22fc7
commit
114c91cf49
@ -15,6 +15,7 @@ We'll begin with the basic boilerplate mod code:
|
||||
Let's write the client side part of the code first.
|
||||
- We'll get the keys for the ModAPI.blocks object (ids of each block) using [`Object.keys()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys)
|
||||
- Then, we'll loop over those keys, and modify their respective block to be as slippery as ice.
|
||||
|
||||
```javascript
|
||||
var blockKeys = Object.keys(ModAPI.blocks);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user