Skip to content

Commit

Permalink
fix: scale id and value
Browse files Browse the repository at this point in the history
  • Loading branch information
RealBauHD committed May 11, 2024
1 parent cadfd5f commit 6dcbcc6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public final class GenericAttribute {
public static final Attribute SAFE_FALL_DISTANCE =
new Attribute("generic.safe_fall_distance", 18, 3F, 1024F);
public static final Attribute SCALE =
new Attribute("generic.scale", 15, 19, 16F);
new Attribute("generic.scale", 19, 1, 16F);
public static final Attribute STEP_HEIGHT =
new Attribute("generic.step_height", 21, 0.6F, 10F);
}
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,6 @@ public <T extends Enum<T>> T readEnum(final Class<T> enumClass) {
for (var i = 0; i < removedComponents; i++) {
map.put(Registries.dataComponentTypes().get(this.readVarInt()), Optional.empty());
}
System.out.println(map);
return DataComponents.from(map);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

import io.github.sculkpowered.server.SculkServer;
import io.github.sculkpowered.server.registry.Registries;
import io.github.sculkpowered.server.util.CoordinateUtil;
import io.github.sculkpowered.server.world.SculkWorld;
import io.github.sculkpowered.server.world.WorldLoader;
import io.github.sculkpowered.server.world.block.Block;
Expand Down

0 comments on commit 6dcbcc6

Please sign in to comment.