mirror of
https://github.com/Oth3r/Sit.git
synced 2025-09-19 16:03:22 +02:00
fix mixin breaking non-sit text displays, fixes #14
This commit is contained in:
parent
82ce56647a
commit
88d523e2dd
1 changed files with 3 additions and 7 deletions
|
@ -9,15 +9,11 @@ import org.spongepowered.asm.mixin.Mixin;
|
|||
import org.spongepowered.asm.mixin.Unique;
|
||||
|
||||
@Mixin(DisplayEntity.TextDisplayEntity.class)
|
||||
public class TextDisplayDismountMixin extends DisplayEntity {
|
||||
|
||||
public TextDisplayDismountMixin(EntityType<?> type, World world) {
|
||||
super(type, world);
|
||||
public abstract class TextDisplayDismountMixin extends DisplayEntity {
|
||||
public TextDisplayDismountMixin(EntityType<?> entityType, World world) {
|
||||
super(entityType, world);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void refreshData(boolean shouldLerp, float lerpProgress) {}
|
||||
|
||||
@Override
|
||||
public Vec3d updatePassengerForDismount(LivingEntity passenger) {
|
||||
// get the passenger's horizontal rotation, rotated counterclockwise, because the method rotates it clockwise for some reason
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue