Skip to content
#

fabric

fabricmc logo

Fabric is a lightweight, experimental modding toolchain for Minecraft.

Here are 1,140 public repositories matching this topic...

fabric
Dsstefanov
Dsstefanov commented Sep 21, 2021

The problem is that buffer array seems to have a different prototype than js definition and when convertBytetoString is called then:

for (const index in buffer_array) {

will start iterating over the prototype properties and result is incorrectly set to be a string of the function definitions instead of being empty string.
Could be fixed by adding a guard:

for (const index in buffer_array

Created by FabricMC Contributors

Released December 20, 2018

Organization
FabricMC
Website
fabricmc.net

Related Topics

minecraft minecraft-mod