Пробовал так.
Предметы выпадают, ошибок нет.
Java:
@EventHandler
public void onDeath(PlayerDeathEvent e) {
e.getEntity().getInventory().remove(Material.BARRIER);
}