Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-12-27 08:30:10 +01:00
Make 'em blocks placeable again!
Dieser Commit ist enthalten in:
Ursprung
85a5ae44e1
Commit
a29e88f535
@ -287,7 +287,7 @@ public class EntityType1_13 {
|
|||||||
FISHIHNG_HOOK(90, EntityType.FISHING_BOBBER),
|
FISHIHNG_HOOK(90, EntityType.FISHING_BOBBER),
|
||||||
SPECTRAL_ARROW(91, EntityType.SPECTRAL_ARROW),
|
SPECTRAL_ARROW(91, EntityType.SPECTRAL_ARROW),
|
||||||
DRAGON_FIREBALL(93, EntityType.DRAGON_FIREBALL),
|
DRAGON_FIREBALL(93, EntityType.DRAGON_FIREBALL),
|
||||||
TRIDENT(94, EntityType.TRIDENT);
|
TRIDENT(94, EntityType.ARROW);
|
||||||
|
|
||||||
private final int id;
|
private final int id;
|
||||||
private final EntityType type;
|
private final EntityType type;
|
||||||
|
@ -88,8 +88,9 @@ public abstract class BlockItemRewriter<T extends BackwardsProtocol> extends Rew
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected Item handleItemToServer(Item item) {
|
protected Item handleItemToServer(Item item) {
|
||||||
if (item == null || item.getTag() == null)
|
if (item == null) return null;
|
||||||
return null;
|
if (item.getTag() == null) return item;
|
||||||
|
|
||||||
CompoundTag tag = item.getTag();
|
CompoundTag tag = item.getTag();
|
||||||
if (tag.contains("ViaBackwards|" + getProtocolName())) {
|
if (tag.contains("ViaBackwards|" + getProtocolName())) {
|
||||||
CompoundTag via = tag.get("ViaBackwards|" + getProtocolName());
|
CompoundTag via = tag.get("ViaBackwards|" + getProtocolName());
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren