mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2024-12-19 23:37:33 +01:00
Attempt to fix icons disappearing.
This commit is contained in:
parent
2187a7670a
commit
9aed0941f8
@ -37,13 +37,9 @@ public class EntityNMSItem extends EntityItem implements NMSItem {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void t_() {
|
public void t_() {
|
||||||
// Checks every 20 ticks.
|
|
||||||
if (ticksLived % 20 == 0) {
|
// So it won't get removed.
|
||||||
// The item dies without a vehicle.
|
ticksLived = 0;
|
||||||
if (this.vehicle == null) {
|
|
||||||
die();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!lockTick) {
|
if (!lockTick) {
|
||||||
super.t_();
|
super.t_();
|
||||||
|
Loading…
Reference in New Issue
Block a user