Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
c36808b5b8
Commit
bb73d9ad78
@ -110,7 +110,7 @@ public class Recording implements Listener {
|
|||||||
}, 1, 1);
|
}, 1, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static final Class<?> primedTnt = Reflection.getClass("{nms.world.entity}.EntityTNTPrimed");
|
private static final Class<?> primedTnt = Reflection.getClass("{nms.world.entity.item}.EntityTNTPrimed");
|
||||||
private static final Reflection.MethodInvoker getBukkitEntity = Reflection.getTypedMethod(Reflection.getClass("{nms.world.entity}.Entity"), "getBukkitEntity", null);
|
private static final Reflection.MethodInvoker getBukkitEntity = Reflection.getTypedMethod(Reflection.getClass("{nms.world.entity}.Entity"), "getBukkitEntity", null);
|
||||||
private void trackEntity(Object e) {
|
private void trackEntity(Object e) {
|
||||||
Entity entity = (Entity) getBukkitEntity.invoke(e);
|
Entity entity = (Entity) getBukkitEntity.invoke(e);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren