Yeet block tool type

This is 99% controlled by the server now.
This commit is contained in:
Camotoy 2021-05-19 22:34:50 -04:00
parent b5307ab3ed
commit c588127648
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F
2 changed files with 0 additions and 4 deletions

View file

@ -143,8 +143,6 @@ public abstract class BlockTranslator {
builder.canBreakWithHand(false); builder.canBreakWithHand(false);
} }
builder.toolType(""); //TODO
JsonNode collisionIndexNode = entry.getValue().get("collision_index"); JsonNode collisionIndexNode = entry.getValue().get("collision_index");
if (hardnessNode != null) { if (hardnessNode != null) {
builder.collisionIndex(collisionIndexNode.intValue()); builder.collisionIndex(collisionIndexNode.intValue());

View file

@ -28,7 +28,6 @@ package org.geysermc.connector.registry.type;
import lombok.Builder; import lombok.Builder;
import lombok.Value; import lombok.Value;
import javax.annotation.Nonnull;
import javax.annotation.Nullable; import javax.annotation.Nullable;
@Builder @Builder
@ -45,7 +44,6 @@ public class BlockMapping {
double hardness; double hardness;
boolean canBreakWithHand; boolean canBreakWithHand;
@Nonnull String toolType;
/** /**
* The index of this collision in collision.json * The index of this collision in collision.json
*/ */